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 an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

Class minutes

boost::posix_time::minutes

Synopsis

// In header: <boost/date_time/posix_time/posix_time_duration.hpp>


class minutes : public boost::posix_time::time_duration {
public:
  // construct/copy/destruct
  template<typename T> 
    explicit minutes(T const &, 
                     typename boost::enable_if< boost::is_integral< T >, void >::type * = BOOST_DATE_TIME_NULLPTR);
};

Description

Allows expression of durations as a minute count The argument must be an integral type

minutes public construct/copy/destruct

  1. template<typename T> 
      explicit minutes(T const & m, 
                       typename boost::enable_if< boost::is_integral< T >, void >::type * = BOOST_DATE_TIME_NULLPTR);

PrevUpHomeNext