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

Function is_punct

boost::algorithm::is_punct — is_punct predicate

Synopsis

// In header: <boost/algorithm/string/classification.hpp>


unspecified is_punct(const std::locale & Loc = std::locale());

Description

Construct the is_classified predicate for the ctype_base::punct category.

Parameters:

Loc

A locale used for classification

Returns:

An instance of the is_classified predicate


PrevUpHomeNext