Jpp - the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
JLANG::is_iterator< T > Struct Template Reference

Data structure to check whether given data type is an iterator. More...

#include <JClass.hh>

Public Types

typedef void * buffer [2]
 

Static Public Member Functions

static T make ()
 
static buffertest (...)
 any type More...
 
template<class R >
static R::iterator_category * test (R)
 iterator More...
 
template<class R >
static void * test (R *)
 pointer More...
 

Static Public Attributes

static const bool value = sizeof(test(make())) == sizeof(void *)
 

Detailed Description

template<class T>
struct JLANG::is_iterator< T >

Data structure to check whether given data type is an iterator.

Definition at line 62 of file JClass.hh.

Member Typedef Documentation

template<class T >
typedef void* JLANG::is_iterator< T >::buffer[2]

Definition at line 66 of file JClass.hh.

Member Function Documentation

template<class T >
static T JLANG::is_iterator< T >::make ( )
static
template<class T >
static buffer& JLANG::is_iterator< T >::test (   ...)
static

any type

template<class T >
template<class R >
static R::iterator_category* JLANG::is_iterator< T >::test ( R  )
static

iterator

template<class T >
template<class R >
static void* JLANG::is_iterator< T >::test ( R )
static

pointer

Member Data Documentation

template<class T >
const bool JLANG::is_iterator< T >::value = sizeof(test(make())) == sizeof(void *)
static

Definition at line 72 of file JClass.hh.


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