NCBI C++ ToolKit
|
Search Toolkit Book for ct::const_set
#include <util/compile_time.hpp>
Public Types | |
using | _MyBase = const_set_map_base< simple_sort_traits< _Ty >, _Backend > |
using | _MyType = const_set< _Ty, _Backend > |
using | init_type = typename _MyBase::init_type |
using | value_type = typename _MyBase::value_type |
using | key_type = value_type |
![]() | |
using | value_type = typename _Traits::value_type |
using | size_type = std::size_t |
using | difference_type = std::ptrdiff_t |
using | reference = const value_type & |
using | const_reference = const value_type & |
using | pointer = const value_type * |
using | const_pointer = const value_type * |
using | iterator = const value_type * |
using | const_iterator = const value_type * |
using | reverse_iterator = std::reverse_iterator< iterator > |
using | const_reverse_iterator = std::reverse_iterator< const_iterator > |
using | traits_type = simple_sort_traits< _Ty > |
using | hash_type = typename _Traits::hash_type |
using | intermediate = typename _Traits::key_type |
using | init_key_type = typename _Traits::init_key_type |
using | init_type = typename _Traits::init_type |
using | sorter_type = TInsertSorter< simple_sort_traits< _Ty >, tag_DuplicatesNo > |
using | index_type = std::conditional_t< can_index, hash_type, typename _Traits::value_type > |
using | backend_type = std::conditional_t< std::is_void< void >::value, portable_backend< index_type, value_type >, void > |
using | key_compare = typename _Traits::hashed_key_type::value_compare |
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 115 of file compile_time.hpp.
using ct::const_set< _Ty, _Backend >::_MyBase = const_set_map_base<simple_sort_traits<_Ty>, _Backend> |
Definition at line 118 of file compile_time.hpp.
using ct::const_set< _Ty, _Backend >::_MyType = const_set<_Ty, _Backend> |
Definition at line 119 of file compile_time.hpp.
using ct::const_set< _Ty, _Backend >::init_type = typename _MyBase::init_type |
Definition at line 121 of file compile_time.hpp.
using ct::const_set< _Ty, _Backend >::key_type = value_type |
Definition at line 124 of file compile_time.hpp.
using ct::const_set< _Ty, _Backend >::value_type = typename _MyBase::value_type |
Definition at line 123 of file compile_time.hpp.
|
inlinestaticconstexpr |
Definition at line 134 of file compile_time.hpp.
References init().
|
inlinestaticconstexpr |
Definition at line 129 of file compile_time.hpp.
References init(), and compile_time_bits::make_array().