![]() |
![]()
| ![]() |
![]()
NAMEstd::experimental::basic_string_view::operator[] - std::experimental::basic_string_view::operator[] Synopsis constexpr const_reference operator[](size_type pos) (library
fundamentals TS)
Parameterspos - position of the character to return Return valueConst reference to the requested character ExceptionsDoes not throw ComplexityConstant. Notes Unlike std::basic_string::operator[],
basic_string_view::operator[](size()) has
Example// Run this code
Output: e
See also at access specified character with bounds checking
|