Lines Matching defs:ObjectStorage
7381 struct ObjectStorage struct
7383 … using TStorage = typename std::aligned_storage<sizeof(T), std::alignment_of<T>::value>::type;
7385 ObjectStorage() : data() {} in ObjectStorage() argument
7387 ObjectStorage(const ObjectStorage& other) in ObjectStorage() function
7392 ObjectStorage(ObjectStorage&& other) in ObjectStorage() function
7397 ~ObjectStorage() { destruct_on_exit<T>(); } in ~ObjectStorage()
7400 void construct(Args&&... args) in construct()
7406 typename std::enable_if<AllowManualDestruction>::type destruct() in destruct()
7414 … void destruct_on_exit(typename std::enable_if<Destruct, U>::type* = 0) { destruct<true>(); } in destruct_on_exit()
7417 void destruct_on_exit(typename std::enable_if<!Destruct, U>::type* = 0) { } in destruct_on_exit()
7419 T& stored_object() { in stored_object()
7423 T const& stored_object() const { in stored_object()
7427 TStorage data;