kblib 0.2.3
General utilities library for modern C++
kblib::detail::type_map< Key, Comp, Vals > Struct Template Reference

#include <kblib/fakestd.h>

Public Types

using types = type_list< Vals... >
 
template<std::size_t I>
using element = typename types::template type< I >
 

Static Public Member Functions

template<Key key, std::size_t I = 0>
static constexpr auto get () noexcept -> auto
 
template<Key key, typename Default = void, std::size_t I = 0>
static constexpr auto get_default () noexcept -> auto
 

Detailed Description

template<typename Key, typename Comp, typename... Vals>
struct kblib::detail::type_map< Key, Comp, Vals >

Definition at line 761 of file fakestd.h.

Member Typedef Documentation

◆ element

template<typename Key , typename Comp , typename... Vals>
template<std::size_t I>
using kblib::detail::type_map< Key, Comp, Vals >::element = typename types::template type<I>

Definition at line 764 of file fakestd.h.

◆ types

template<typename Key , typename Comp , typename... Vals>
using kblib::detail::type_map< Key, Comp, Vals >::types = type_list<Vals...>

Definition at line 762 of file fakestd.h.

Member Function Documentation

◆ get()

template<typename Key , typename Comp , typename... Vals>
template<Key key, std::size_t I = 0>
static constexpr auto kblib::detail::type_map< Key, Comp, Vals >::get ( ) -> auto
inlinestaticconstexprnoexcept

Definition at line 767 of file fakestd.h.

◆ get_default()

template<typename Key , typename Comp , typename... Vals>
template<Key key, typename Default = void, std::size_t I = 0>
static constexpr auto kblib::detail::type_map< Key, Comp, Vals >::get_default ( ) -> auto
inlinestaticconstexprnoexcept

Definition at line 777 of file fakestd.h.


The documentation for this struct was generated from the following file: