Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
can_IterForEach< T > Class Template Reference

#include "lib/meta/trait.hpp"

Description

template<typename T>
class lib::meta::can_IterForEach< T >

Trait template to detect a type usable immediately as "Lumiera Forward Iterator" in a specialised for-each loop This is just a heuristic, based on some common properties of such iterators; it is enough to distinguish it from an STL container, but can certainly be refined.

Definition at line 510 of file trait.hpp.

Public Types

enum  { value }
 

Private Types

using Type = Strip< T >::Type
 

Private Member Functions

 META_DETECT_NESTED (value_type)
 
 META_DETECT_OPERATOR_DEREF ()
 
 META_DETECT_OPERATOR_INC ()
 

Member Typedef Documentation

◆ Type

template<typename T >
using Type = Strip<T>::Type
private

Definition at line 512 of file trait.hpp.

Member Enumeration Documentation

◆ anonymous enum

template<typename T >
anonymous enum
Enumerator
value 

Definition at line 519 of file trait.hpp.

Member Function Documentation

◆ META_DETECT_NESTED()

template<typename T >
META_DETECT_NESTED ( value_type  )
private

◆ META_DETECT_OPERATOR_DEREF()

template<typename T >
META_DETECT_OPERATOR_DEREF ( )
private

◆ META_DETECT_OPERATOR_INC()

template<typename T >
META_DETECT_OPERATOR_INC ( )
private
+ Collaboration diagram for can_IterForEach< T >:

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