![]() |
|
Adaptor for map-like structure (true version, must have key_type and mapped_type). More...
#include <CLI11.h>
Inherits true_type.
Public Types | |
| using | value_type = typename T::value_type |
| using | first_type = typename std::remove_const< typename value_type::first_type >::type |
| using | second_type = typename std::remove_const< typename value_type::second_type >::type |
Static Public Member Functions | |
| template<typename Q > | |
| static auto | first (Q &&pair_value) -> decltype(std::get< 0 >(std::forward< Q >(pair_value))) |
| Get the first value (really just the underlying value) | |
| template<typename Q > | |
| static auto | second (Q &&pair_value) -> decltype(std::get< 1 >(std::forward< Q >(pair_value))) |
| Get the second value (really just the underlying value) | |
Adaptor for map-like structure (true version, must have key_type and mapped_type).
This wraps a mapped container in a few utilities access it in a general way.
| using first_type = typename std::remove_const<typename value_type::first_type>::type |
| using second_type = typename std::remove_const<typename value_type::second_type>::type |
|
inlinestatic |
|
inlinestatic |