Boost C++ Libraries

PrevUpHomeNext

Function template begins_with

boost::log::expressions::begins_with

Synopsis

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


template<typename DescriptorT, template< typename > class ActorT, 
         typename SubstringT> 
  unspecified begins_with(attribute_keyword< DescriptorT, ActorT > const &, 
                          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, begins with the specified substring.


PrevUpHomeNext