Assignment operators
Declared in <bdljsn_jsonnumber.h>
Assign to this object the value of the specified rhs object, and return a non-const reference to this 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, and return a non-const reference to this object. The behavior is undefined if rhs is infinite (INF) or not-a-number (NaN).
JsonNumber&
operator=(float rhs);
» more...
Assign to this object the value of the specified rhs, and return a non-const reference to this object.
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, and return a non-const reference to this object.
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, and 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).
JsonNumber&
operator=(bslmf::MovableRef<JsonNumber> rhs);
» more...