access specified array element with bounds checking

Synopsis

Declared in <nlohmann/json.hpp>

reference
at(size_type idx);

Return Value

reference to the element at index idx

Parameters

Name

Description

idx

index of the element to access

Created with MrDocs