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

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext
Character Generators

See here for more information about Character Generators.

Expression

Attribute

Description

ch

Unused

Generate ch

lit(ch)

Unused

Generate ch

char_

Ch

Generate character supplied as the attribute

char_(ch)

Ch

Generate ch, if an attribute is supplied it must match

char_("c")

Ch

Generate a single char string literal, c, if an attribute is supplied it must match

char_(ch, ch2)

Ch

Generate the character supplied as the attribute, if it belongs to the character range from ch to ch2

char_(charset)

Ch

Generate the character supplied as the attribute, if it belongs to the character set charset

alnum

Ch

Generate the character supplied as the attribute if it satisfies the concept of std::isalnum in the character set defined by NS

alpha

Ch

Generate the character supplied as the attribute if it satisfies the concept of std::isalpha in the character set defined by NS

blank

Ch

Generate the character supplied as the attribute if it satisfies the concept of std::isblank in the character set defined by NS

cntrl

Ch

Generate the character supplied as the attribute if it satisfies the concept of std::iscntrl in the character set defined by NS

digit

Ch

Generate the character supplied as the attribute if it satisfies the concept of std::isdigit in the character set defined by NS

graph

Ch

Generate the character supplied as the attribute if it satisfies the concept of std::isgraph in the character set defined by NS

print

Ch

Generate the character supplied as the attribute if it satisfies the concept of std::isprint in the character set defined by NS

punct

Ch

Generate the character supplied as the attribute if it satisfies the concept of std::ispunct in the character set defined by NS

space

Ch

Generate the character supplied as the attribute if it satisfies the concept of std::isspace, or a single space character in the character set defined by NS

xdigit

Ch

Generate the character supplied as the attribute if it satisfies the concept of std::isxdigit in the character set defined by NS

lower

Ch

Generate the character supplied as the attribute if it satisfies the concept of std::islower in the character set defined by NS

upper

Ch

Generate the character supplied as the attribute if it satisfies the concept of std::isupper in the character set defined by NS


PrevUpHomeNext