Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

PrevUpHomeNext

grammar::find_if

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

Synopsis

Defined 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);
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

find_if_not.

Convenience header <boost/url/grammar.hpp>


PrevUpHomeNext