access specified array element with bounds checking

Synopsis

Declared in <nlohmann/json.hpp>

const_reference
at(size_type idx) const;

Return Value

const reference to the element at index idx

Parameters

Name

Description

idx

index of the element to access

Created with MrDocs