This provides an object that can initialize the storage opaquely, e.g.
More...
#include "timemory/operations/declaration.hpp"
This provides an object that can initialize the storage opaquely, e.g.
This operation class is used for generic storage initalization.
namespace
{
}
This provides an object that can initialize the storage opaquely, e.g.
Definition at line 97 of file declaration.hpp.
◆ get() [1/8]
Definition at line 132 of file declaration.hpp.
134 return get<T>(trait::is_available_t<T>{});
Referenced by get().
◆ get() [2/8]
◆ get() [3/8]
template<size_t... Idx,
enable_if_t< sizeof...(Idx) !=1 > >
auto tim::storage_initializer::get |
|
static |
Definition at line 141 of file declaration.hpp.
143 return get(std::make_index_sequence<Idx>{});
static storage_initializer get()
References get().
◆ get() [4/8]
template<typename... Tp,
enable_if_t< sizeof...(Tp) !=1 > = 0>
static auto tim::storage_initializer::get |
( |
| ) |
|
|
static |
◆ get() [5/8]
template<size_t... Idx,
enable_if_t< sizeof...(Idx) !=1 > = 0>
static auto tim::storage_initializer::get |
( |
| ) |
|
|
static |
◆ get() [6/8]
◆ get() [7/8]
template<size_t... Idx>
auto tim::storage_initializer::get |
( |
std::index_sequence< Idx... > |
| ) |
|
|
static |
◆ get() [8/8]
Definition at line 66 of file storage_initializer.hpp.
69 auto library_ctor = tim::get_env<bool>(
"TIMEMORY_LIBRARY_CTOR",
true);
71 return storage_initializer{};
74 return storage_initializer{};
78 using storage_type = storage<T, typename T::value_type>;
80 static auto _master = (storage_type::master_instance(), storage_initializer{});
81 static thread_local auto _worker = (storage_type::instance(), storage_initializer{});
void consume_parameters(ArgsT &&...)
static bool get(enable_if_t< is_available< U >::value &&get_value< U >(), int >=0)
GET specialization if component is available.
The documentation for this struct was generated from the following files: