Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::uni_functional_detail Namespace Reference

Classes

struct  container_value_type
 
struct  container_value_type< T, std::enable_if_t< has_aleph_iterator< T >::value and not has_stl_iterator< T >::value > >
 
struct  container_value_type< T, std::enable_if_t< has_stl_iterator< T >::value > >
 
struct  has_aleph_iterator
 
struct  has_aleph_iterator< T, std::void_t< typename T::Iterator, typename T::Item_Type, decltype(std::declval< typename T::Iterator >().has_curr()), decltype(std::declval< typename T::Iterator >().get_curr()), decltype(std::declval< typename T::Iterator >().next()) > >
 
struct  has_reverse_iterator
 
struct  has_reverse_iterator< T, std::void_t< decltype(std::declval< const T & >().rbegin()), decltype(std::declval< const T & >().rend()) > >
 
struct  has_stl_iterator
 
struct  has_stl_iterator< T, std::void_t< decltype(std::declval< const T & >().begin()), decltype(std::declval< const T & >().end()), typename T::value_type > >
 

Typedefs

template<typename T >
using value_t = typename container_value_type< std::decay_t< T > >::type
 

Variables

template<typename T >
constexpr bool is_stl_container_v = has_stl_iterator<std::decay_t<T>>::value
 
template<typename T >
constexpr bool is_aleph_only_v
 

Typedef Documentation

◆ value_t

Definition at line 146 of file ah-uni-functional.H.

Variable Documentation

◆ is_aleph_only_v

template<typename T >
constexpr bool Aleph::uni_functional_detail::is_aleph_only_v
constexpr
Initial value:
=
has_aleph_iterator<std::decay_t<T>>::value &&
not has_stl_iterator<std::decay_t<T>>::value

Definition at line 154 of file ah-uni-functional.H.

◆ is_stl_container_v

template<typename T >
constexpr bool Aleph::uni_functional_detail::is_stl_container_v = has_stl_iterator<std::decay_t<T>>::value
constexpr

Definition at line 150 of file ah-uni-functional.H.