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 version of Boost is under active development. You are currently in the develop branch. The current version is 1.89.0.
(Deprecated) Time traits specialised for posix_time.
template<> struct time_traits< boost::posix_time::ptime >
|
Name |
Description |
|---|---|
|
The duration type. |
|
|
The time type. |
|
Name |
Description |
|---|---|
|
add [static] |
Add a duration to a time. |
|
less_than [static] |
Test whether one time is less than another. |
|
now [static] |
Get the current time. |
|
subtract [static] |
Subtract one time from another. |
|
to_posix_duration [static] |
Convert to POSIX duration type. |
Header: boost/asio/time_traits.hpp
Convenience header: None