#include <CntrCloner.hh>
To make use of it, you must define a specialization of CntrCloner for your container type, in which the execute() method calls CntrClonerSorted::execute(). See CntrCloner<std::map> in STLMapCloner.hh for an example.
Definition at line 97 of file CntrCloner.hh.
Static Public Methods | |
template<typename X> void | xform (Container &obj, X *x) |
transform element x in obj | |
template<typename X, typename Y> void | xform (Container &obj, const std::pair< X *const, Y > &x) |
this will work for maps etc | |
void | execute (Container &obj) |
carry out the clone operation |