Assignment operators

Synopses

Declared in <bdljsn_jsonnumber.h>

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

Same as the related overload above for operator=.

Same as the related overload above for operator=.

JsonNumber&
operator=(double rhs);

Assign to this object the value of the specified rhs.

JsonNumber&
operator=(float rhs);

Assign to this object the value of the specified rhs.

JsonNumber&
operator=(int rhs);

Same as the related overload above for operator=.

JsonNumber&
operator=(long rhs);

Same as the related overload above for operator=.

JsonNumber&
operator=(long long rhs);

Assign to this object the value of the specified rhs.

JsonNumber&
operator=(unsigned int rhs);

Same as the related overload above for operator=.

JsonNumber&
operator=(unsigned long rhs);

Same as the related overload above for operator=.

JsonNumber&
operator=(unsigned long long rhs);

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

Return Value

a non‐`const` reference to this object

Parameters

Name

Description

rhs

object providing the value to assign

Created with MrDocs