BloombergLP::bdljsn::JsonNumber::operator=

Assignment operators

Synopses

Declared in <bdljsn_jsonnumber.h>

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

JsonNumber&
operator=(JsonNumber const& rhs);
» more...

Same as the related overload above for operator=.

JsonNumber&
operator=(bdldfp::Decimal64 rhs);
» more...

Same as the related overload above for operator=.

JsonNumber&
operator=(double rhs);
» more...

Assign to this object the value of the specified rhs.

JsonNumber&
operator=(float rhs);
» more...

Assign to this object the value of the specified rhs.

JsonNumber&
operator=(int rhs);
» more...

Same as the related overload above for operator=.

JsonNumber&
operator=(long rhs);
» more...

Same as the related overload above for operator=.

JsonNumber&
operator=(long long rhs);
» more...

Assign to this object the value of the specified rhs.

JsonNumber&
operator=(unsigned int rhs);
» more...

Same as the related overload above for operator=.

JsonNumber&
operator=(unsigned long rhs);
» more...

Same as the related overload above for operator=.

JsonNumber&
operator=(unsigned long long rhs);
» more...

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

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

Return Value

a non-const reference to this object

Parameters

NameDescription
rhsobject providing the value to assign