replace overloads
Declared in <bdlcc_objectcatalog.h>
Replace the object having the specified handle with the specified newObject, leaving newObject in an unspecified but valid state. Return 0 on success, and a non-zero value if the handle is not contained in this catalog.
int
replace(
int handle,
bslmf::MovableRef<TYPE> newObject);
» more...
Replace the object having the specified handle with the specified newObject. Return 0 on success, and a non-zero value if the handle is not contained in this catalog.
int
replace(
int handle,
TYPE const& newObject);
» more...