|
void | ConcatNextPart (std::ostringstream *ss) |
| Appends the closing string to the message. More...
|
|
template<typename T , typename... Args> |
void | ConcatNextPart (std::ostringstream *ss, const T &arg, const Args &... parts) |
| Appends the next part of the message. More...
|
|
template<typename TTuple , typename TFunction , size_t TIndex> |
void | ApplyImpl (TTuple *t, TFunction &&function) |
|
template<typename TTuple , typename TFunction , size_t... TIndices> |
void | Apply (TTuple *t, size_t index, TFunction &&f, std::index_sequence< TIndices... >) |
|
template<typename TTuple , typename TFunction , size_t... TIndices>
void bdm::detail::Apply |
( |
TTuple * |
t, |
|
|
size_t |
index, |
|
|
TFunction && |
f, |
|
|
std::index_sequence< TIndices... > |
|
|
) |
| |
Does the translation of runtime index to compile time index by using a look up table (lut) array of ApplyImpl
functions. Forwards the call to ApplyImpl
Definition at line 42 of file tuple.h.
template<typename TTuple , typename TFunction , size_t TIndex>
void bdm::detail::ApplyImpl |
( |
TTuple * |
t, |
|
|
TFunction && |
function |
|
) |
| |
Applies the given function on tuple element TIndex This function is called from detail::Apply
. It has a compile time index to be used in std::get
to obtain the right type within the tuple. The obtained type is then passed to function
.
Definition at line 34 of file tuple.h.