Go to the SVN repository for this file.
1 #ifndef __COMPILE_TIME_HPP_INCLUDED__ 2 #define __COMPILE_TIME_HPP_INCLUDED__ 46 template<
typename...TArgs>
53 using key_type=
typenamevalue_type::first_type;
56 using_MyBase::_MyBase;
60 autoit = _MyBase::find(
key);
61 if(it == _MyBase::end())
62 throwstd::out_of_range(
"invalid const_map<K, T> key");
74 template<
typename_Key,
typename_Ty>
77 template<
typename_Key,
typename_Ty>
80 template<
typename...TArgs>
88 using_MyBase::_MyBase;
91 template<
typename_Ty>
94 template<
typenameT1,
typenameT2>
110 returnconstruct(std::to_array(
init));
115 returnstd::make_pair(
116map_type1::construct(
init),
117map_type2::construct(
init)
124 template<
typename_Init,
typename_Elem=array_elem_t<_Init>>
137 #define MAKE_CONST_MAP(name, type1, type2, ...) \ 138 static constexpr auto name = ct::const_map<type1, type2>::construct(__VA_ARGS__); 140 #define MAKE_TWOWAY_CONST_MAP(name, type1, type2, ...) \ 141 static constexpr auto name = ct::const_map_twoway<type1, type2>::construct(__VA_ARGS__); 143 #define MAKE_CONST_SET(name, type, ...) \ 144 static constexpr auto name = ct::const_set<type>::construct(__VA_ARGS__);typename search_core::intermediate intermediate
const mapped_type & operator[](typename _MyBase::intermediate key) const
const mapped_type & at(typename _MyBase::intermediate key) const
typename value_type::second_type mapped_type
typename value_type::first_type key_type
typename _MyBase::value_type value_type
typename _MyBase::value_type value_type
static void DLIST_NAME() init(DLIST_LIST_TYPE *list)
std::false_type tag_DuplicatesNo
std::true_type tag_DuplicatesYes
std::false_type tag_SortByValues
constexpr auto sort(_Init &&init)
double value_type
The numeric datatype used by the parser.
const struct ncbi::grid::netcache::search::fields::KEY key
typename pair_type::init_type init_type
typename straight_traits::init_type init_type
static constexpr auto construct(const std::array< init_type, N > &init)
static constexpr auto construct(init_type const (&init)[N])
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4