chsvlib
chsv helper source code
is_iteratable_type< T > Struct Template Reference

Checks whether a given type is iteratable. More...

#include <chsvmetafun.h>

Inheritance diagram for is_iteratable_type< T >:
Collaboration diagram for is_iteratable_type< T >:

Detailed Description

template<class T>
struct Chusov::is_iteratable_type< T >

Checks whether a given type is iteratable.

Template Parameters
TA type to check against.

The class inherits members of std::bool_constant. The inherited static boolean member value is true, if T is an iteratable type, and is false otherwise.

A type T is iteratable, if, given an object t of the type T, the expressions std::begin(t) and std::end(t) are valid and returns an object of a type I, which satisfies the Iterator requirements.


The documentation for this struct was generated from the following file: