replace overloads
Declared in <bdlcc_objectcatalog.h>
Replace the object with the specified handle with movable newObject.
int
replace(
int handle,
bslmf::MovableRef<TYPE> newObject);
» more...
Replace the object with the specified handle with newObject.
int
replace(
int handle,
TYPE const& newObject);
» more...
0 on success, and a non-zero value if not found
| Name | Description |
|---|---|
| handle | handle of the object to replace |
| newObject | replacement value |