NCBI C++ ToolKit
|
Search Toolkit Book for ct::const_map_twoway
#include <util/compile_time.hpp>
Public Types | |
using | type1 = DeduceType< T1 > |
using | type2 = DeduceType< T2 > |
using | straight_traits = straight_map_traits< type1, type2 > |
using | reverse_traits = reverse_map_traits< type1, type2 > |
using | init_type = typename straight_traits::init_type |
using | map_type1 = const_map_impl< T1, T2, straight_traits, tag_DuplicatesNo > |
using | map_type2 = const_map_impl< T2, T1, reverse_traits, tag_DuplicatesNo > |
Static Public Member Functions | |
template<size_t N> | |
static constexpr auto | construct (init_type const (&init)[N]) |
template<size_t N> | |
static constexpr auto | construct (const std::array< init_type, N > &init) |
Definition at line 142 of file compile_time.hpp.
using ct::const_map_twoway< T1, T2 >::init_type = typename straight_traits::init_type |
Definition at line 149 of file compile_time.hpp.
using ct::const_map_twoway< T1, T2 >::map_type1 = const_map_impl<T1, T2, straight_traits, tag_DuplicatesNo> |
Definition at line 151 of file compile_time.hpp.
using ct::const_map_twoway< T1, T2 >::map_type2 = const_map_impl<T2, T1, reverse_traits, tag_DuplicatesNo> |
Definition at line 152 of file compile_time.hpp.
using ct::const_map_twoway< T1, T2 >::reverse_traits = reverse_map_traits<type1, type2> |
Definition at line 148 of file compile_time.hpp.
using ct::const_map_twoway< T1, T2 >::straight_traits = straight_map_traits<type1, type2> |
Definition at line 147 of file compile_time.hpp.
using ct::const_map_twoway< T1, T2 >::type1 = DeduceType<T1> |
Definition at line 144 of file compile_time.hpp.
using ct::const_map_twoway< T1, T2 >::type2 = DeduceType<T2> |
Definition at line 145 of file compile_time.hpp.
|
inlinestaticconstexpr |
Definition at line 160 of file compile_time.hpp.
References init().
|
inlinestaticconstexpr |
Definition at line 155 of file compile_time.hpp.
References init(), and compile_time_bits::make_array().