FreeBSD Manual Pages
std::experi..._view::data(3) C++ Standard Libary std::experi..._view::data(3) NAME std::experimental::basic_string_view::data - std::experimental::ba- sic_string_view::data Synopsis constexpr const_pointer data() const noexcept; (library fundamen- tals TS) Returns a pointer to the underlying character array. The pointer is such that the range [data(), data() + size()) is valid and the values in it corre- spond to the values of the view. (n.b. Unlike basic_string::data() and string literals, data() may return a pointer to a buffer that is not null-terminated. There- fore it is typically a mistake to pass data() to a routine that takes just a const CharT* and expects a null-terminated string.) Parameters (none) Return value A pointer to the underlying character array. Complexity Constant. See also front accesses the first character (public member function) back accesses the last character (public member function) http://cppreference.com 2022.07.31 std::experi..._view::data(3)
NAME | Synopsis | Parameters | Return value | Complexity | See also
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=std::experimental::u16string_view::data&sektion=3&manpath=FreeBSD+Ports+15.0>
