STD::EXPERIMENTAL::FILESYSTEM::BASIC_STRING_VIEW(3cxx)
π NAME π
okay bestie, welcome to the <pink>3cxx</pink> manual page for
std::experimental::filesystem::basic_string_view< _CharT, _Traits > β a non-owning reference to a string. periodt.
β¨ SYNOPSIS β¨
#include <>>
π«Ά Public Types
const_iteratorconst_pointerconst_referenceconst_reverse_iteratordifference_typeiteratorpointerreferencereverse_iteratorsize_typetraits_typevalue_type
π Public Member Functions
template<contiguous_iterator _It, sized_sentinel_for< _It > _End> requires same_as<iter_value_t<_It>, _CharT> && (!convertible_to<_End, size_type>) constexpr basic_string_view (_It __first, _End __last) noexcept(noexcept(__last - __first))β build one from an iterator pair, no capconstexpr basic_string_view (const _CharT *__str) noexceptconstexpr basic_string_view (const _CharT *__str, size_type __len) noexceptconstexpr basic_string_view (const basic_string_view &) noexcept=defaultconstexpr const_reference at (size_type __pos) constconstexpr const_reference back () const noexceptconstexpr const_iterator begin () const noexceptconstexpr const_iterator cbegin () const noexceptconstexpr const_iterator cend () const noexceptconstexpr int compare (basic_string_view __str) const noexceptconstexpr int compare (const _CharT *__str) const noexceptconstexpr int compare (size_type __pos1, size_type __n1, basic_string_view __str) constconstexpr int compare (size_type __pos1, size_type __n1, basic_string_view __str, size_type __pos2, size_type __n2) constconstexpr int compare (size_type __pos1, size_type __n1, const _CharT *__str) constconstexpr int compare (size_type __pos1, size_type __n1, const _CharT *__str, size_type __n2) const noexcept(false)constexpr size_type copy (_CharT *__str, size_type __n, size_type __pos=0) constconstexpr const_reverse_iterator crbegin () const noexceptconstexpr const_reverse_iterator crend () const noexceptconstexpr const_pointer data () const noexceptconstexpr bool empty () const noexceptconstexpr const_iterator end () const noexceptconstexpr size_type find (_CharT __c, size_type __pos=0) const noexceptconstexpr size_type find (basic_string_view __str, size_type __pos=0) const noexceptconstexpr size_type find (const _CharT *__str, size_type __pos, size_type __n) const noexceptconstexpr size_type find (const _CharT *__str, size_type __pos=0) const noexceptconstexpr size_type find_first_not_of (_CharT __c, size_type __pos=0) const noexceptconstexpr size_type find_first_not_of (basic_string_view __str, size_type __pos=0) const noexceptconstexpr size_type find_first_not_of (const _CharT *__str, size_type __pos, size_type __n) const noexceptconstexpr size_type find_first_not_of (const _CharT *__str, size_type __pos=0) const noexceptconstexpr size_type find_first_of (_CharT __c, size_type __pos=0) const noexceptconstexpr size_type find_first_of (basic_string_view __str, size_type __pos=0) const noexceptconstexpr size_type find_first_of (const _CharT *__str, size_type __pos, size_type __n) const noexceptconstexpr size_type find_first_of (const _CharT *__str, size_type __pos=0) const noexceptconstexpr size_type find_last_not_of (_CharT __c, size_type __pos=npos) const noexceptconstexpr size_type find_last_not_of (basic_string_view __str, size_type __pos=npos) const noexceptconstexpr size_type find_last_not_of (const _CharT *__str, size_type __pos, size_type __n) const noexceptconstexpr size_type find_last_not_of (const _CharT *__str, size_type __pos=npos) const noexceptconstexpr size_type find_last_of (_CharT __c, size_type __pos=npos) const noexceptconstexpr size_type find_last_of (basic_string_view __str, size_type __pos=npos) const noexceptconstexpr size_type find_last_of (const _CharT *__str, size_type __pos, size_type __n) const noexceptconstexpr size_type find_last_of (const _CharT *__str, size_type __pos=npos) const noexceptconstexpr const_reference front () const noexceptconstexpr size_type length () const noexceptconstexpr size_type max_size () const noexceptconstexpr basic_string_view & operator= (const basic_string_view &) noexcept=defaultconstexpr const_reference operator[] (size_type __pos) const noexceptconstexpr const_reverse_iterator rbegin () const noexceptconstexpr void remove_prefix (size_type __n) noexceptconstexpr void remove_suffix (size_type __n) noexceptconstexpr const_reverse_iterator rend () const noexceptconstexpr size_type rfind (_CharT __c, size_type __pos=npos) const noexceptconstexpr size_type rfind (basic_string_view __str, size_type __pos=npos) const noexceptconstexpr size_type rfind (const _CharT *__str, size_type __pos, size_type __n) const noexceptconstexpr size_type rfind (const _CharT *__str, size_type __pos=npos) const noexceptconstexpr size_type size () const noexceptconstexpr basic_string_view substr (size_type __pos=0, size_type __n=npos) const noexcept(false)constexpr void swap (basic_string_view &__sv) noexcept
πΈ Static Public Attributes
static constexpr size_type npos
π Detailed Description π
template<typename _CharT, typename _Traits = std::char_traits<_CharT>>
class std::experimental::filesystem::basic_string_view< _CharT, _Traits >
A non-owning reference to a string.
π§ Template Parameters
_CharTβ Type of character_Traitsβ Traits for character type, defaults tochar_traits<_CharT>.
A basic_string_view looks like this:
_CharT* _M_str
size_t _M_len
π Author π
Generated automatically by Doxygen for libstdc++ from the source code. not a human, not a girlie, just a doc generator doing its thing fr fr π
okay that's the whole page bestie!! π this lil beauty came out of libstdc++'s docs, lives in manual section 3cxx, and it's the std::experimen...harT, _Traits >(3cxx) page β go forth and view some strings without owning them, mwah πβ¨π¦
π¦ where this page comes from
- ubuntu resolute: libstdc++-16-doc 16-20260322-1ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms