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 an older version of Boost and was released in 2024. The current version is 1.91.0.
Returns true if *this represents
a valid time_point.
constexpr bool valid() const;
If any of the individual components is out of range, the date doesn't represent
an actual time_point (e.g.
date(2020, 2, 30))
or the date is not in the [min_date, max_date] validity range, returns
false. Otherwise, returns
true.
No-throw guarantee.