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

datetime::datetime (1 of 4 overloads)
PrevUpHomeNext

Constructs a zero datetime.

Synopsis
constexpr
datetime() noexcept;
Description

Results in a datetime with all of its components set to zero. The resulting object has this->valid() == false.

Exception safety

No-throw guarantee.


PrevUpHomeNext