A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/compile__time_8hpp_source.html below:

NCBI C++ ToolKit: include/util/compile_time.hpp Source File

Go to the documentation of this file.

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

=

typename

value_type::first_type;

56  using

_MyBase::_MyBase;

60  auto

it = _MyBase::find(

key

);

61  if

(it == _MyBase::end())

62  throw

std::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

<

typename

T1,

typename

T2>

110  return

construct(std::to_array(

init

));

115  return

std::make_pair(

116

map_type1::construct(

init

),

117

map_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