Lumiera
0.pre.03
»edit your freedom«
|
#include "lib/meta/trait.hpp"
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.
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 () | |