MCPcopy Create free account
hub / github.com/arun11299/cpp-jwt / operator[]

Method operator[]

include/jwt/string_view.hpp:139–143  ·  view source on GitHub ↗

Element Access Member Functions

Source from the content-addressed store, hash-verified

137
138 /// Element Access Member Functions
139 const_reference operator[](size_type idx) const noexcept
140 {
141 assert(idx < len_ && "string_view subscript out of range");
142 return data_[idx];
143 }
144
145 // NOTE: 'at' not supported
146 //CharT at(size_type idx) const;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected