#include "lib/scoped-collection.hpp"
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.
The documentation for this class was generated from the following file: