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

PrevUpHomeNext

Function template format_date_time

boost::log::expressions::format_date_time

Synopsis

// In header: <boost/log/expressions/formatters/date_time.hpp>


template<typename T, typename FallbackPolicyT, typename TagT, 
         template< typename > class ActorT, typename CharT> 
  format_date_time_actor< T, FallbackPolicyT, CharT, ActorT > 
  format_date_time(attribute_actor< T, FallbackPolicyT, TagT, ActorT > const & placeholder, 
                   std::basic_string< CharT > const & format);

Description

The function generates a manipulator node in a template expression. The manipulator must participate in a formatting expression (stream output or format placeholder filler).

Parameters:

format

Format string

placeholder

Attribute placeholder


PrevUpHomeNext