BloombergLP::bdljsn::JsonNumber::operator=

Assign to this object the value of the specified rhs object.

Synopsis

Declared in <bdljsn_jsonnumber.h>

JsonNumber&
operator=(bslmf::MovableRef<JsonNumber> rhs);

Description

Return a non-const reference to this object. The allocators of this object and rhs both remain unchanged. If rhs and this object have the same allocator then the value of rhs becomes unspecified but valid, and no exceptions will be thrown; otherwise rhs is unchanged (and an exception may be thrown).

Return Value

a non-const reference to this object

Parameters

NameDescription
rhsobject to move-assign from