代码搜索结果
找到约 10,000 项符合
Smart Home 的代码
smart_ptr.h
#ifndef CODELITE_SMART_PTR_H
#define CODELITE_SMART_PTR_H
/**
* A smart pointer class that provides a reference counting and auto delete memory.
*
* This class is similar to std::auto_ptr, with 2
smart-select.c
/* smart-select.c
*
* Copyright (c) 2000 Sean Walton and Macmillan Publishers. Use may be in
* whole or in part in accordance to the General Public License (GPL).
*
* THIS SOFTWARE IS PROVI
smart-ptr.cpp
#include
using std::ostream; using std::cout; using std::endl;
#include
#include
using std::size_t;
//private class for use by HasPtr only
class U_Ptr {
friend
smart_ptr.h
// smart_ptr.h -- by Thatcher Ulrich 2003
// This source code has been donated to the Public Domain. Do
// whatever you want with it.
// Smart (ref-counting) pointer classes. Uses
smart-ptr.cpp
#include
using std::ostream; using std::cout; using std::endl;
#include
#include
using std::size_t;
//private class for use by HasPtr only
class U_Ptr {
friend
smart-ptr.cpp
/*
* This file contains code from "C++ Primer, Fourth Edition", by Stanley B.
* Lippman, Jose Lajoie, and Barbara E. Moo, and is covered under the
* copyright and warranty notices given in that
smart_ptr.hpp
#ifndef SMART_PTR_HPP
#define SMART_PTR_HPP
template
class CountedPtr
{
private:
//members
T* ptr;
long* count;
//member funcfions
void dispose()
{
if(--*count
smart_timer.hex
:105D6500047000000000046500000000026E0000E1
:105D7500016D00016B00016C0002740000026900F6
:105D850000C103C100C101C102C104C106C105C1F1
:015D95000706
:104F27008F398E388D378C36AF25AE24AD23AC2222
:104F
smart_timer.lnp
"main.obj",
"lcd.obj",
"lcm_asm.obj",
"INTEMP.obj"
TO "smart_timer"
RAMSIZE(256)