Lumiera  0.pre.03
»edit your freedom«
ScopedCollection< I, siz >::FillAll Class Reference

#include "lib/scoped-collection.hpp"

Description

template<class I, size_t siz = sizeof(I)>
class lib::ScopedCollection< I, siz >::FillAll

usage
Pass an instance of this builder functor as 2nd parameter to ScopedCollections's ctor. (an anonymous instance is OK). Using this variant of the ctor switches the collection to RAII-style: It will immediately try to create all the embedded objects, invoking this builder functor for each "slot" to hold such an embedded object. Actually, this "slot" is an ElementHolder instance, which provides functions for placement-creating objects into this embedded buffer.

Definition at line 436 of file scoped-collection.hpp.

Public Member Functions

void operator() (typename ScopedCollection< I, siz >::ElementHolder &storage)
 
+ Collaboration diagram for ScopedCollection< I, siz >::FillAll:

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