BloombergLP::bdljsn::Error::Error

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

NameDescription
originalthe object to move from