Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
datetime::get_time_point

Converts *this into a time_point (unchecked access).

Synopsis
constexpr datetime::time_point
get_time_point() const noexcept;
Description

If your compiler supports it, prefer using get_local_time_point, as it provides more accurate semantics.

Preconditions

this->valid() == true (if violated, results in undefined behavior).

Exception safety

No-throw guarantee.


PrevUpHomeNext