BloombergLP::bdljsn::JsonArray::assign

assign overloads

Synopses

Declared in <bdljsn_json.h>

Assign to this array from the specified elements.

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

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);
» more...

Return Value

  • reference to *this
  • non-const reference to this array

Parameters

NameDescription
elementsinitializer-list of element values
firstbeginning of the source range
lastend of the source range