Lumiera  0.pre.03
»edit your freedom«
ContainerCore< CON > Class Template Reference

#include "lib/iter-adapter.hpp"

Description

template<class CON>
class lib::ContainerCore< CON >

Adapter to »piggy-back« a STL iterable container inline and expose it as »state core«.

Warning
be sure to understand the implications of this setup
  • when initialised by reference, the container's contents will be copied
  • when move-initialised, the container will be destroyed with this iterator
  • the container API remains visible (baseclass), which could confuse trait detection

Definition at line 613 of file iter-adapter.hpp.

Public Member Functions

 ContainerCore (CON &&container)
 
bool checkPoint () const
 
void iterNext ()
 
decltype(auto) yield () const
 

Private Types

using Iter = typename CON::iterator
 

Private Attributes

Iter p_
 
+ Inheritance diagram for ContainerCore< CON >:
+ Collaboration diagram for ContainerCore< CON >:

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