construct an array with count copies of given value

Synopsis

Declared in <nlohmann/json.hpp>

basic_json(
    size_type cnt,
    basic_json const& val);

Parameters

Name

Description

cnt

the number of copies of val to create

val

the value to copy

Created with MrDocs