代码搜索:singleton
找到约 4,696 项符合「singleton」的源代码
代码结果 4,696
www.eeworm.com/read/101169/15842236
h singleton.h
// Singleton.h
//
// Automatic singleton utility class (Singleton pattern)
// (Presented by Scott Bilas in Game Programming Gems)
//
// How to use it: class MySingleton: public Singleton
www.eeworm.com/read/101085/15852895
h singleton.h
/********************************************************************
created: ?
author: Scott Bilas, Game Programming Gems
copyright: Copyright 2003 (C) Scott Bilas
description: Singleton
www.eeworm.com/read/101085/15852952
h singleton.h
#ifndef _SINGLETON_H_
#define _SINGLETON_H_
/********************************************************************
created: ?
author: Scott Bilas, Game Programming Gems
copyright: Copyright
www.eeworm.com/read/101063/15854997
cpp singleton.cpp
////////////////////////////////////////////////////////////////////////////////
// The Loki Library
// Copyright (c) 2001 by Andrei Alexandrescu
// This code accompanies the book:
// Alexandrescu
www.eeworm.com/read/101063/15855032
h singleton.h
////////////////////////////////////////////////////////////////////////////////
// The Loki Library
// Copyright (c) 2001 by Andrei Alexandrescu
// This code accompanies the book:
// Alexandrescu
www.eeworm.com/read/287073/8726369
html class_singleton.html
Crypto++: Singleton< T, F, instance > Class
www.eeworm.com/read/382761/9001338
cpp singleton_2.cpp
namespace DesignPattern_Singleton
{
//class Singleton
class Singleton
{
protected:
Singleton() {}
static Singleton *_instance ;
private:
Singleton(const Singleton&) ;
Singleton&
www.eeworm.com/read/382761/9001339
opt singleton_2.opt
www.eeworm.com/read/382761/9001341