assign overloads

Synopses

Declared in <bdljsn_json.h>

Assign to this array from the specified elements.

JsonArray&
assign(std::initializer_list<Json_Initializer> elements);

Assign to this array the values in the range [first, last)].

template<class t_INPUT_ITERATOR>
JsonArray&
assign(
    t_INPUT_ITERATOR first,
    t_INPUT_ITERATOR last);

Return Value

  • reference to *this

  • non‐`const` reference to this array

Parameters

Name

Description

elements

initializer‐list of element values

first

beginning of the source range

last

end of the source range

Created with MrDocs