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 for the latest Boost documentation.
PrevUpHomeNext

Class seconds

boost::posix_time::seconds — Allows expression of durations as a seconds count.

Synopsis

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


class seconds : public boost::posix_time::time_duration {
public:
  // construct/copy/destruct
  seconds(long);
};

Description

seconds public construct/copy/destruct

  1. seconds(long s);

PrevUpHomeNext