clang::mrdocs::startsWithOneOf

Determine if a string starts with one of the specified characters

Synopsis

Declared in <mrdocs/Support/String.hpp>

constexpr
bool
startsWithOneOf(
    std::string_view s,
    std::string_view chars) noexcept;

Return Value

if a string starts with one of the specified characters

Parameters

Name

Description

s

The string to check.

chars

The characters to check for.

Created with MrDocs