cppreference.com
Create account
Log in
Namespaces
Template
Discussion
Variants
Views
View
Edit
History
Actions
Template:cpp/string/basic string/navbar content
From cppreference.com
Member functions
basic_string::basic_string
basic_string::~basic_string
basic_string::operator=
basic_string::assign
basic_string::assign_range
(C++23)
basic_string::get_allocator
Element access
basic_string::at
basic_string::operator[]
basic_string::front
(
DR*
)
basic_string::back
(
DR*
)
basic_string::data
basic_string::c_str
basic_string::operator
basic_string_view
(C++17)
Iterators
basic_string::begin
basic_string::cbegin
(C++11)
basic_string::end
basic_string::cend
(C++11)
basic_string::rbegin
basic_string::crbegin
(C++11)
basic_string::rend
basic_string::crend
(C++11)
Capacity
basic_string::empty
basic_string::size
basic_string::length
basic_string::max_size
basic_string::reserve
basic_string::capacity
basic_string::shrink_to_fit
(
DR*
)
Modifiers
basic_string::clear
basic_string::insert
basic_string::insert_range
(C++23)
basic_string::erase
basic_string::push_back
basic_string::pop_back
(
DR*
)
basic_string::append
basic_string::append_range
(C++23)
basic_string::operator+=
basic_string::replace
basic_string::replace_with_range
(C++23)
basic_string::copy
basic_string::resize
basic_string::resize_and_overwrite
(C++23)
basic_string::swap
Search
basic_string::find
basic_string::rfind
basic_string::find_first_of
basic_string::find_first_not_of
basic_string::find_last_of
basic_string::find_last_not_of
Operations
basic_string::compare
basic_string::starts_with
(C++20)
basic_string::ends_with
(C++20)
basic_string::contains
(C++23)
basic_string::substr
Constants
basic_string::npos
Non-member functions
operator+
swap
(std::basic_string)
erase
(std::basic_string)
erase_if
(std::basic_string)
(C++20)
(C++20)
I/O
operator<<
operator>>
getline
Comparison
operator==
operator!=
operator<
operator>
operator<=
operator>=
operator<=>
(until C++20)
(until C++20)
(until C++20)
(until C++20)
(until C++20)
(C++20)
Numeric conversions
stoi
stol
stoll
(C++11)
(C++11)
(C++11)
stoul
stoull
(C++11)
(C++11)
stof
stod
stold
(C++11)
(C++11)
(C++11)
to_string
(C++11)
to_wstring
(C++11)
Literals
operator""s
(C++14)
Helper classes
hash
<std::basic_string>
(C++11)
Deduction guides
(C++17)