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

Classes

class  AlephIteratorWrapper
 Wrapper that provides uniform interface for Aleph iterators. More...
 
struct  container_value_type
 
struct  container_value_type< T, std::enable_if_t< has_aleph_iterator< T >::value &&!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_ne())> >
 
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 > >
 
struct  IteratorWrapperSelector
 Select appropriate wrapper based on container type. More...
 
struct  IteratorWrapperSelector< Container, std::enable_if_t< has_aleph_iterator< std::decay_t< Container > >::value &&!has_stl_iterator< std::decay_t< Container > >::value > >
 
struct  IteratorWrapperSelector< Container, std::enable_if_t< has_stl_iterator< std::decay_t< Container > >::value > >
 
class  StlIteratorWrapper
 Wrapper that provides uniform interface for STL iterators. More...
 

Typedefs

template<typename T >
using container_value_t = typename container_value_type< std::decay_t< T > >::type
 
template<typename Container >
using iterator_wrapper_t = typename IteratorWrapperSelector< Container >::type
 

Variables

template<typename T >
constexpr bool is_supported_container_v
 

Typedef Documentation

◆ container_value_t

Definition at line 135 of file ah-zip-utils.H.

◆ iterator_wrapper_t

Variable Documentation

◆ is_supported_container_v

template<typename T >
constexpr bool Aleph::uni_zip_detail::is_supported_container_v
inlineconstexpr
Initial value:
=
has_stl_iterator<std::decay_t<T>>::value ||
has_aleph_iterator<std::decay_t<T>>::value

Definition at line 211 of file ah-zip-utils.H.