Lines Matching defs:Singleton
45 // Default traits for Singleton<Type>. Calls operator new and operator delete on
75 // Alternate traits for use with the Singleton<Type>. Identical to
76 // DefaultSingletonTraits except that the Singleton will not be cleaned up
87 // Alternate traits for use with the Singleton<Type>. Allocates memory
144 // The Singleton<Type, Traits, DifferentiatingType> class manages a single
171 // return Singleton<FooClass>::get();
177 // NOTE: The method accessing Singleton<T>::get() has to be named as GetInstance
183 // Singleton<> has no non-static members and doesn't need to actually be
216 class Singleton {
218 // Classes using the Singleton<T> pattern should declare a GetInstance()
219 // method and call Singleton::get() from within that.
289 base::subtle::AtomicWord Singleton<Type, Traits, DifferentiatingType>::