...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
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 a duration to a time. |
|
Test whether one time is less than another. |
|
Get the current time. |
|
Subtract one time from another. |
|
Convert to POSIX duration type. |
Header: boost/asio/time_traits.hpp
Convenience header: boost/asio.hpp