Home
last modified time | relevance | path

Searched defs:ObjectStorage (Results 1 – 3 of 3) sorted by relevance

/external/catch2/include/internal/benchmark/
Dcatch_constructor.hpp20 struct ObjectStorage struct
22 … using TStorage = typename std::aligned_storage<sizeof(T), std::alignment_of<T>::value>::type;
24 ObjectStorage() : data() {} in ObjectStorage() argument
26 ObjectStorage(const ObjectStorage& other) in ObjectStorage() argument
31 ObjectStorage(ObjectStorage&& other) in ObjectStorage() argument
36 ~ObjectStorage() { destruct_on_exit<T>(); } in ~ObjectStorage()
39 void construct(Args&&... args) in construct()
45 typename std::enable_if<AllowManualDestruction>::type destruct() in destruct()
53 … void destruct_on_exit(typename std::enable_if<Destruct, U>::type* = 0) { destruct<true>(); } in destruct_on_exit()
56 void destruct_on_exit(typename std::enable_if<!Destruct, U>::type* = 0) { } in destruct_on_exit()
[all …]
/external/catch2/single_include/catch2/
Dcatch.hpp7349 struct ObjectStorage struct
7351 … using TStorage = typename std::aligned_storage<sizeof(T), std::alignment_of<T>::value>::type;
7353 ObjectStorage() : data() {} in ObjectStorage() function
7355 ObjectStorage(const ObjectStorage& other) in ObjectStorage() argument
7360 ObjectStorage(ObjectStorage&& other) in ObjectStorage() argument
7365 ~ObjectStorage() { destruct_on_exit<T>(); } in ~ObjectStorage()
7368 void construct(Args&&... args) in construct()
7374 typename std::enable_if<AllowManualDestruction>::type destruct() in destruct()
7382 … void destruct_on_exit(typename std::enable_if<Destruct, U>::type* = 0) { destruct<true>(); } in destruct_on_exit()
7385 void destruct_on_exit(typename std::enable_if<!Destruct, U>::type* = 0) { } in destruct_on_exit()
[all …]
/external/libabigail/tests/lib/
Dcatch.hpp7381 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()
[all …]