Home | History | Annotate | Download | only in base

Lines Matching refs:LazyInstance

5 // The LazyInstance<Type, Traits> class manages a single instance of Type,
14 // LazyInstance is completely thread safe, assuming that you create it safely.
16 // static constructor. It really only makes sense to declare a LazyInstance as
19 // LazyInstance is similar to Singleton, except it does not have the singleton
20 // property. You can have multiple LazyInstance's of the same type, and each
27 // static LazyInstance<MyClass> my_instance(base::LINKER_INITIALIZED);
120 class LazyInstance : public LazyInstanceHelper {
122 explicit LazyInstance(LinkerInitialized x) : LazyInstanceHelper(x) { }
171 LazyInstance<Type, Traits>* me =
172 reinterpret_cast<LazyInstance<Type, Traits>*>(lazy_instance);
182 DISALLOW_COPY_AND_ASSIGN(LazyInstance);