Lines Matching defs:ObjectStorage
7325 struct ObjectStorage struct
7327 … using TStorage = typename std::aligned_storage<sizeof(T), std::alignment_of<T>::value>::type;
7329 ObjectStorage() : data() {} in ObjectStorage() argument
7331 ObjectStorage(const ObjectStorage& other) in ObjectStorage() argument
7336 ObjectStorage(ObjectStorage&& other) in ObjectStorage() function
7341 ~ObjectStorage() { destruct_on_exit<T>(); } in ~ObjectStorage()
7344 void construct(Args&&... args) in construct()
7350 typename std::enable_if<AllowManualDestruction>::type destruct() in destruct()
7358 … void destruct_on_exit(typename std::enable_if<Destruct, U>::type* = 0) { destruct<true>(); } in destruct_on_exit()
7361 void destruct_on_exit(typename std::enable_if<!Destruct, U>::type* = 0) { } in destruct_on_exit()
7363 T& stored_object() in stored_object()
7368 TStorage data;