Gets the Nth element from a tuple value.
More...
#include <value.hpp>
|
|
| DeTup (Value< std::tuple< ArgTypes... >> *tup, const std::string &alias) |
| |
|
| DerivedValue (const std::string &name, const std::string &alias="") |
| |
|
void | log () |
| |
|
std::tuple_element< N, std::tuple< ArgTypes... > >::type & | get_value () |
| | Calculate, if necessary, and return the value held by this object.
|
| |
|
| Value (const std::string &name, const std::string &alias="") |
| |
|
void | enable_logging (const std::function< std::string(std::tuple_element< N, std::tuple< ArgTypes... > >::type)> &value_to_string=[](std::tuple_element< N, std::tuple< ArgTypes... > >::type){return "";}) |
| |
|
void | disable_logging () |
| |
|
|
static std::string | fmt_name (Value< std::tuple< ArgTypes... >> *tup) |
| |
|
|
Value< std::tuple< ArgTypes... > > | tup |
| |
|
|
std::tuple_element< N, std::tuple< ArgTypes... > >::type | value |
| |
|
std::function< std::string(std::tuple_element< N, std::tuple< ArgTypes... > >::type)> | value_to_string |
| |
template<size_t N, typename... ArgTypes>
class fv::DeTup< N, ArgTypes >
Gets the Nth element from a tuple value.
Definition at line 791 of file value.hpp.
◆ update_value()
template<size_t N, typename... ArgTypes>
| void fv::DeTup< N, ArgTypes >::update_value |
( |
| ) |
|
|
inlineprotectedvirtual |
The documentation for this class was generated from the following file: