[#BloombergLP-bdljsn-JsonNumber-operator_assign-0ad] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::xref:BloombergLP/bdljsn/JsonNumber.adoc[JsonNumber]::operator= :relfileprefix: ../../../ :mrdocs: Assignment operators == Synopses 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdljsn/JsonNumber.adoc[JsonNumber]& xref:BloombergLP/bdljsn/JsonNumber/operator_assign-0f.adoc[operator=](xref:BloombergLP/bdljsn/JsonNumber.adoc[JsonNumber] const& rhs); ---- [.small]#xref:BloombergLP/bdljsn/JsonNumber/operator_assign-0f.adoc[_» more..._]# Same as the related overload above for `operator=`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdljsn/JsonNumber.adoc[JsonNumber]& xref:BloombergLP/bdljsn/JsonNumber/operator_assign-0ee0.adoc[operator=](xref:BloombergLP/bdldfp/Decimal64.adoc[bdldfp::Decimal64] rhs); ---- [.small]#xref:BloombergLP/bdljsn/JsonNumber/operator_assign-0ee0.adoc[_» more..._]# Same as the related overload above for `operator=`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdljsn/JsonNumber.adoc[JsonNumber]& xref:BloombergLP/bdljsn/JsonNumber/operator_assign-08.adoc[operator=](double rhs); ---- [.small]#xref:BloombergLP/bdljsn/JsonNumber/operator_assign-08.adoc[_» 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`). [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdljsn/JsonNumber.adoc[JsonNumber]& xref:BloombergLP/bdljsn/JsonNumber/operator_assign-0af.adoc[operator=](float rhs); ---- [.small]#xref:BloombergLP/bdljsn/JsonNumber/operator_assign-0af.adoc[_» more..._]# Assign to this object the value of the specified `rhs`, and return a non‐`const` reference to this object. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdljsn/JsonNumber.adoc[JsonNumber]& xref:BloombergLP/bdljsn/JsonNumber/operator_assign-02.adoc[operator=](int rhs); ---- [.small]#xref:BloombergLP/bdljsn/JsonNumber/operator_assign-02.adoc[_» more..._]# Same as the related overload above for `operator=`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdljsn/JsonNumber.adoc[JsonNumber]& xref:BloombergLP/bdljsn/JsonNumber/operator_assign-0e3.adoc[operator=](long rhs); ---- [.small]#xref:BloombergLP/bdljsn/JsonNumber/operator_assign-0e3.adoc[_» more..._]# Same as the related overload above for `operator=`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdljsn/JsonNumber.adoc[JsonNumber]& xref:BloombergLP/bdljsn/JsonNumber/operator_assign-0a4.adoc[operator=](long long rhs); ---- [.small]#xref:BloombergLP/bdljsn/JsonNumber/operator_assign-0a4.adoc[_» more..._]# Assign to this object the value of the specified `rhs`, and return a non‐`const` reference to this object. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdljsn/JsonNumber.adoc[JsonNumber]& xref:BloombergLP/bdljsn/JsonNumber/operator_assign-054.adoc[operator=](unsigned int rhs); ---- [.small]#xref:BloombergLP/bdljsn/JsonNumber/operator_assign-054.adoc[_» more..._]# Same as the related overload above for `operator=`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdljsn/JsonNumber.adoc[JsonNumber]& xref:BloombergLP/bdljsn/JsonNumber/operator_assign-053.adoc[operator=](unsigned long rhs); ---- [.small]#xref:BloombergLP/bdljsn/JsonNumber/operator_assign-053.adoc[_» more..._]# Same as the related overload above for `operator=`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdljsn/JsonNumber.adoc[JsonNumber]& xref:BloombergLP/bdljsn/JsonNumber/operator_assign-0eed.adoc[operator=](unsigned long long rhs); ---- [.small]#xref:BloombergLP/bdljsn/JsonNumber/operator_assign-0eed.adoc[_» 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). [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdljsn/JsonNumber.adoc[JsonNumber]& xref:BloombergLP/bdljsn/JsonNumber/operator_assign-0c.adoc[operator=](xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef<JsonNumber>] rhs); ---- [.small]#xref:BloombergLP/bdljsn/JsonNumber/operator_assign-0c.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#