BloombergLP::bslstl::Function_Rep::copyInit

Copy-initialize this rep from the specified original rep.

Synopsis

Declared in <bslstl_function_rep.h>

void
copyInit(Function_Rep const& original);

Description

Copy-initialize this rep from the specified original rep. If an exception is thrown by the copy, the only valid subsequent operation on this object is destruction. The behavior is undefined unless this object is empty before the call.

Parameters

NameDescription
originalrepresentation whose target is copied