#include <type_list.h>
|
template<typename func_t > |
void constexpr | apply_all (func_t const &f) |
|
template<typename func_t > |
void constexpr | apply_all (func_t const &f) const |
|
template<typename return_t , typename func_t > |
decltype(auto) | aggregate (func_t const &accumulator, return_t seed) |
|
template<typename return_t , typename func_t > |
decltype(auto) | aggregate (func_t const &accumulator, return_t seed) const |
|
template<typename get_t , typename = std::enable_if_t<has<get_t>()>> |
constexpr auto & | get () |
|
template<typename get_t , typename = std::enable_if_t<has<get_t>()>> |
constexpr auto const & | get () const |
|
constexpr auto & | unmock () |
|
constexpr auto const & | unmock () const |
|
constexpr auto | operator-> () |
|
constexpr auto | operator-> () const |
|
constexpr auto & | operator* () |
|
constexpr auto const & | operator* () const |
|
|
template<typename count_t > |
static consteval size_t | count () |
|
static consteval size_t | count () |
|
template<typename has_t > |
static consteval bool | has () |
|
template<typename base_t>
struct type_list< base_t >
Definition at line 130 of file type_list.h.
◆ aggregate() [1/2]
template<typename base_t >
template<typename return_t , typename func_t >
decltype(auto) type_list< base_t >::aggregate |
( |
func_t const & |
accumulator, |
|
|
return_t |
seed |
|
) |
| |
|
inline |
Definition at line 155 of file type_list.h.
155 {
156 return accumulator(
me, seed);
157 }
◆ aggregate() [2/2]
template<typename base_t >
template<typename return_t , typename func_t >
decltype(auto) type_list< base_t >::aggregate |
( |
func_t const & |
accumulator, |
|
|
return_t |
seed |
|
) |
| const |
|
inline |
Definition at line 160 of file type_list.h.
160 {
161 return accumulator(
me, seed);
162 }
◆ apply_all() [1/2]
template<typename base_t >
template<typename func_t >
void constexpr type_list< base_t >::apply_all |
( |
func_t const & |
f | ) |
|
|
inlineconstexpr |
◆ apply_all() [2/2]
template<typename base_t >
template<typename func_t >
void constexpr type_list< base_t >::apply_all |
( |
func_t const & |
f | ) |
const |
|
inlineconstexpr |
◆ count() [1/2]
template<typename base_t >
template<typename count_t >
Definition at line 136 of file type_list.h.
136 {
137 return std::is_same_v<base_t, count_t> ? 1 : 0;
138 }
◆ count() [2/2]
template<typename base_t >
◆ get() [1/2]
template<typename base_t >
template<typename get_t , typename = std::enable_if_t<has<get_t>()>>
constexpr auto & type_list< base_t >::get |
( |
| ) |
|
|
inlineconstexpr |
Definition at line 170 of file type_list.h.
170 {
171 return *this;
172 }
◆ get() [2/2]
template<typename base_t >
template<typename get_t , typename = std::enable_if_t<has<get_t>()>>
constexpr auto const & type_list< base_t >::get |
( |
| ) |
const |
|
inlineconstexpr |
Definition at line 175 of file type_list.h.
175 {
176 return *this;
177 }
◆ has()
template<typename base_t >
template<typename has_t >
Definition at line 165 of file type_list.h.
165 {
166 return std::is_same_v<has_t, base_t>;
167 }
◆ operator*() [1/2]
template<typename base_t >
constexpr auto & type_list< base_t >::operator* |
( |
| ) |
|
|
inlineconstexpr |
◆ operator*() [2/2]
template<typename base_t >
constexpr auto const & type_list< base_t >::operator* |
( |
| ) |
const |
|
inlineconstexpr |
◆ operator->() [1/2]
template<typename base_t >
constexpr auto type_list< base_t >::operator-> |
( |
| ) |
|
|
inlineconstexpr |
◆ operator->() [2/2]
template<typename base_t >
constexpr auto type_list< base_t >::operator-> |
( |
| ) |
const |
|
inlineconstexpr |
◆ unmock() [1/2]
template<typename base_t >
constexpr auto & type_list< base_t >::unmock |
( |
| ) |
|
|
inlineconstexpr |
◆ unmock() [2/2]
template<typename base_t >
constexpr auto const & type_list< base_t >::unmock |
( |
| ) |
const |
|
inlineconstexpr |
◆ me
template<typename base_t >
The documentation for this struct was generated from the following file: