boost::urls::grammar::find_if

Find the first character in the string that is in the set.

Synopsis

Declared in header <boost/url/grammar/charset.hpp>

template<class CharSet>
char const*
find_if(
    char const const* first,
    char const const* last,
    CharSet const& cs) noexcept;

Description

Exception Safety

Throws nothing.

Return Value

A pointer to the found character, otherwise the value last.

Parameters

Name Description

first

A pointer to the first character in the string to search.

last

A pointer to one past the last character in the string to search.

cs

The character set to use.

See Also