Lines Matching defs:ObjectStorage
7397 struct ObjectStorage struct
7399 … using TStorage = typename std::aligned_storage<sizeof(T), std::alignment_of<T>::value>::type;
7401 ObjectStorage() : data() {} in ObjectStorage() function
7403 ObjectStorage(const ObjectStorage& other) in ObjectStorage() argument
7408 ObjectStorage(ObjectStorage&& other) in ObjectStorage() function
7413 ~ObjectStorage() { destruct_on_exit<T>(); } in ~ObjectStorage()
7416 void construct(Args&&... args) in construct()
7422 typename std::enable_if<AllowManualDestruction>::type destruct() in destruct()
7430 … void destruct_on_exit(typename std::enable_if<Destruct, U>::type* = 0) { destruct<true>(); } in destruct_on_exit()
7433 void destruct_on_exit(typename std::enable_if<!Destruct, U>::type* = 0) { } in destruct_on_exit()
7435 T& stored_object() { in stored_object()
7439 T const& stored_object() const { in stored_object()
7443 TStorage data;