Create a DegenerateFunctor wrapping a copy of the specified base.
Synopsis
Declared in <bsltf_degeneratefunctor.h>
static
DegenerateFunctor<FUNCTOR, ENABLE_SWAP>
cloneBaseObject(FUNCTOR const& base);
Description
Note that this method is supplied so that the only publicly accessible constructor is the copy constructor.
Return Value
a DegenerateFunctor wrapping a copy of base
Parameters
Name |
Description |
base |
functor object to wrap |
Created with MrDocs