Create an Error object having the same value and the same allocator as the specified original object.

Synopsis

Declared in <bdljsn_error.h>

Error(bslmf::MovableRef<Error> original) noexcept;

Description

The value of original becomes unspecified but valid, and its allocator remains unchanged.

Parameters

Name

Description

original

the object to move from

Created with MrDocs