kblib 0.2.3
General utilities library for modern C++
kblib::detail_cry Namespace Reference

Classes

struct  value_and_index_base
 
struct  value_and_index_base< Range, std::enable_if_t< not std::is_reference_v< Range > > >
 
struct  value_and_index_impl
 
struct  value_index_pair
 

Functions

template<std::size_t N, typename T , std::enable_if_t< N==0 > * = nullptr>
auto get (T &&t) -> std::conditional_t< std::is_reference_v< T >, const std::size_t &, const std::size_t >
 

Function Documentation

◆ get()

template<std::size_t N, typename T , std::enable_if_t< N==0 > * = nullptr>
auto kblib::detail_cry::get ( T &&  t) -> std::conditional_t<std::is_reference_v<T>, const std::size_t&, const std::size_t>

Definition at line 43 of file enumerate-contrib-cry.h.