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

Struct basic_time_traits

boost::log::attributes::basic_time_traits — Base class for time traits involving Boost.DateTime.

Synopsis

// In header: <boost/log/attributes/time_traits.hpp>


struct basic_time_traits {
  // types
  typedef posix_time::ptime        time_type;     // Time type. 
  typedef posix_time::second_clock clock_source;  // Current time source. 
};

PrevUpHomeNext