NCBI C++ ToolKit
Public Types | Static Public Member Functions | List of all members
compile_time_bits::simple_sort_traits< _Ty > Struct Template Reference

Search Toolkit Book for compile_time_bits::simple_sort_traits

#include <util/impl/compile_time_bits.hpp>

Public Types

using hashed_key_type = DeduceType< _Ty >
 
using value_type = typename hashed_key_type::value_type
 
using hash_type = typename hashed_key_type::hash_type
 
using init_type = typename hashed_key_type::init_type
 
using init_key_type = typename hashed_key_type::init_type
 
using key_type = typename hashed_key_type::value_type
 

Static Public Member Functions

static constexpr hash_type get_init_hash (const init_type &v)
 
static constexpr const key_typeget_key (const value_type &v)
 
static constexpr value_type construct (const init_type &v)
 

Detailed Description

template<typename _Ty>
struct compile_time_bits::simple_sort_traits< _Ty >

Definition at line 387 of file compile_time_bits.hpp.

Member Typedef Documentation

◆ hash_type

template<typename _Ty >
using compile_time_bits::simple_sort_traits< _Ty >::hash_type = typename hashed_key_type::hash_type

Definition at line 392 of file compile_time_bits.hpp.

◆ hashed_key_type

template<typename _Ty >
using compile_time_bits::simple_sort_traits< _Ty >::hashed_key_type = DeduceType<_Ty>

Definition at line 389 of file compile_time_bits.hpp.

◆ init_key_type

template<typename _Ty >
using compile_time_bits::simple_sort_traits< _Ty >::init_key_type = typename hashed_key_type::init_type

Definition at line 394 of file compile_time_bits.hpp.

◆ init_type

template<typename _Ty >
using compile_time_bits::simple_sort_traits< _Ty >::init_type = typename hashed_key_type::init_type

Definition at line 393 of file compile_time_bits.hpp.

◆ key_type

template<typename _Ty >
using compile_time_bits::simple_sort_traits< _Ty >::key_type = typename hashed_key_type::value_type

Definition at line 395 of file compile_time_bits.hpp.

◆ value_type

template<typename _Ty >
using compile_time_bits::simple_sort_traits< _Ty >::value_type = typename hashed_key_type::value_type

Definition at line 391 of file compile_time_bits.hpp.

Member Function Documentation

◆ construct()

template<typename _Ty >
static constexpr value_type compile_time_bits::simple_sort_traits< _Ty >::construct ( const init_type v)
inlinestaticconstexpr

Definition at line 405 of file compile_time_bits.hpp.

◆ get_init_hash()

template<typename _Ty >
static constexpr hash_type compile_time_bits::simple_sort_traits< _Ty >::get_init_hash ( const init_type v)
inlinestaticconstexpr

Definition at line 397 of file compile_time_bits.hpp.

◆ get_key()

template<typename _Ty >
static constexpr const key_type& compile_time_bits::simple_sort_traits< _Ty >::get_key ( const value_type v)
inlinestaticconstexpr

Definition at line 401 of file compile_time_bits.hpp.


The documentation for this struct was generated from the following file:
Modified on Sat Dec 09 04:46:36 2023 by modify_doxy.py rev. 669887