CPPConsole
Loading...
Searching...
No Matches
iterable< T > Struct Template Reference

Template for a iterable data type. Matches things like vector, deque, map, etc. More...

#include <template.hpp>

Public Types

enum  { is = sizeof(check<T>(0)) == sizeof(char) }
 

Static Public Member Functions

template<class V >
static long check (...)
 
template<class V >
static char check (int, typename V::const_iterator=T().end())
 

Detailed Description

template<typename T>
struct console::iterable< T >

Template for a iterable data type. Matches things like vector, deque, map, etc.

Template Parameters
TType of the data type

Member Enumeration Documentation

◆ anonymous enum

template<typename T >
anonymous enum
Enumerator
is 

Member Function Documentation

◆ check() [1/2]

template<typename T >
template<class V >
static long check (   ...)
static

◆ check() [2/2]

template<typename T >
template<class V >
static char check ( int  ,
typename V::const_iterator  = T().end() 
)
static

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