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

Concept that identifies types that can be converted or used as an Aleph Array. More...

#include <ah-concepts.H>

Concept definition

template<typename T>
concept Aleph::AlephArrayConvertible = requires(T c)
{
typename T::Item_Type;
{ c.get_it() };
}
Concept that identifies types that can be converted or used as an Aleph Array.
std::decay_t< typename HeadC::Item_Type > T
Definition ah-zip.H:105

Detailed Description

Concept that identifies types that can be converted or used as an Aleph Array.

A type T satisfies AlephArrayConvertible if it defines a nested type Item_Type and provides a get_it() method, which is the standard way in Aleph-w to obtain an iterator for the container.

Template Parameters
TThe type to check.

Definition at line 151 of file ah-concepts.H.