Classes | Functions
lar::details::type_traits Namespace Reference

Classes

struct  has_const_iterator_struct
 
struct  has_const_iterator_struct< T, true >
 

Functions

template<typename T >
constexpr auto has_const_iterator_helper (T *=nullptr) -> decltype(typename T::const_iterator(), bool())
 
constexpr bool has_const_iterator_helper (...)
 

Function Documentation

template<typename T >
constexpr auto lar::details::type_traits::has_const_iterator_helper ( T *  = nullptr) -> decltype(typename T::const_iterator(), bool())

Definition at line 108 of file NestedIterator.h.

110  { return true; }
constexpr bool lar::details::type_traits::has_const_iterator_helper (   ...)

Definition at line 113 of file NestedIterator.h.

113 { return false; }