Lumiera  0.pre.03
»edit your freedom«
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 505 of file trait.hpp.

Public Types

enum  { value }
 

Private Types

using Type = typename Strip< T >::Type
 

Private Member Functions

 META_DETECT_NESTED (value_type)
 
 META_DETECT_OPERATOR_DEREF ()
 
 META_DETECT_OPERATOR_INC ()
 
+ Collaboration diagram for can_IterForEach< T >:

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