folly::basic_cstring_view::at

Returns a reference to the character at the given position, bounds-checked.

Synopsis

Declared in <folly/lang/cstring_view.h>

constexpr
const_reference
at(size_type pos) const;

Return Value

Reference to the character at pos.

Parameters

NameDescription
posPosition of the character.