Lumiera  0.pre.03
»edit your freedom«
SingleValCore< VAL > Class Template Reference

#include "lib/itertools.hpp"

Description

template<typename VAL>
class lib::SingleValCore< VAL >

Implementation of a singleton value holder, which discards the contained value once "iterated".

Definition at line 588 of file itertools.hpp.

Public Types

typedef std::remove_reference_t< VAL > * pointer
 
typedef std::remove_reference_t< VAL > & reference
 
typedef std::remove_reference_t< VAL > value_type
 

Public Member Functions

 SingleValCore ()
 passive and empty
 
 SingleValCore (VAL &&something)
 
void advance ()
 
bool evaluate () const
 
Item const & pipe () const
 

Private Types

typedef wrapper::ItemWrapper< VAL > Item
 

Private Attributes

Item theValue_
 
+ Collaboration diagram for SingleValCore< VAL >:

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