boost::algorithm::is_punct — is_punct predicate
// In header: <boost/algorithm/string/classification.hpp> unspecified is_punct(const std::locale & Loc = std::locale());
Construct the is_classified predicate for the ctype_base::punct category.
is_classified
ctype_base::punct
Parameters:
Loc
A locale used for classification
Returns:
An instance of the is_classified predicate