libstdc++
GNU C++ library
Loading...
Searching...
No Matches

◆ starts_with() [4/6]

template<typename _CharT, typename _Traits, typename _Alloc>
bool std::basic_string< _CharT, _Traits, _Alloc >::starts_with ( basic_string_view< _CharT, _Traits > __x) const
inlinenoexcept

Definition at line 3200 of file cow_string.h.

3201 { return __sv_type(this->data(), this->size()).starts_with(__x); }
constexpr size_type size() const noexcept
Returns the number of characters in the string, not including any null-termination.
constexpr bool starts_with(basic_string_view< _CharT, _Traits > __x) const noexcept
constexpr const _CharT * data() const noexcept
Return const pointer to contents.
Managing sequences of characters and character-like objects.