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 a snapshot of the master branch, built from commit 9be721e70e.
PrevUpHomeNext

Function template contains

boost::log::expressions::contains

Synopsis

// In header: <boost/log/expressions/predicates/contains.hpp>


template<typename T, typename SubstringT> 
  unspecified contains(attribute_name const & name, 
                       SubstringT const & substring);

Description

The function generates a terminal node in a template expression. The node will check if the attribute value, which is assumed to be a string, contains the specified substring.


PrevUpHomeNext