starts_with overloads

Synopses

Declared in <bslstl_string.h>

Return true if this string starts with the specified character.

bool
starts_with(char character) const noexcept;

Return true if this string starts with the specified characterString.

bool
starts_with(basic_string_view<char, char_traits<char>> characterString) const noexcept;

Return true if this string starts with the specified C‐string.

bool
starts_with(char const* characterString) const;

Created with MrDocs