Assign to this object the value of the specified rhs.

Synopsis

Declared in <bdljsn_jsonnumber.h>

JsonNumber&
operator=(float rhs);

Description

Return a non‐`const` reference to this object. The behavior is undefined if rhs is infinite (INF) or not‐a‐number (NaN).

Return Value

a non‐`const` reference to this object

Parameters

Name

Description

rhs

value to assign

Created with MrDocs