replace overloads

Synopses

Declared in <bdlcc_objectcatalog.h>

Replace the object with the specified handle with movable newObject.

int
replace(
    int handle,
    bslmf::MovableRef<TYPE> newObject);

Replace the object with the specified handle with newObject.

int
replace(
    int handle,
    TYPE const& newObject);

Return Value

0 on success, and a non‐zero value if not found

Parameters

Name

Description

handle

handle of the object to replace

newObject

replacement value

Created with MrDocs