29 #ifdef PXR_BASE_TF_INSTANTIATE_SINGLETON_H
30 #error This file should only be included once in any given source (.cpp) file.
33 #define PXR_BASE_TF_INSTANTIATE_SINGLETON_H
44 PXR_NAMESPACE_OPEN_SCOPE
59 static std::once_flag once;
60 std::call_once(once, [](){
70 ARCH_PRAGMA_MAY_NOT_BE_ALIGNED
100 #define TF_INSTANTIATE_SINGLETON(T) \
101 template class PXR_NS_GLOBAL::TfSingleton<T>
104 PXR_NAMESPACE_CLOSE_SCOPE
Manage a single instance of an object.
Manage a single instance of an object (see.
Demangle C++ typenames generated by the typeid() facility.