Rebuilding Boost Date-Time for C++11
summary
Rebuilds Boost.Date_Time around C++11/14 features aiming for a smaller faster v2 that can be proposed for the standard — default-constructed dates become epoch not not-a-date-time, optional covers missing values, many conversions are implemented as templated constructors (tm, chrono system_clock, tuple, strings, calculated rules), code uses noexcept fast path, move/defaulted special members, member initialization and constexpr (C++11 limited, C++14 better), IO remains a performance pain, work is preliminary and hosted on GitHub.
AI-written summary · about
chapters (9)
- 0:00Start
- 2:57Background
- 9:14What's easiest to use type in C++?
- 29:39Error Handling & NoExcept
- 42:42User Defined Literals
- 44:00user defined literal example
- 49:29constexpr limits
- 51:24delegating constructors
- 53:53Conclusions: Valuetype Design Considerations
related talks
59m“A C++14 approach to dates and times"
24m“Migrating a C++03 library to C++11 case study: Wt 4”
01h 21mHow Old Am I in Seconds? Insights From the C++ chrono Library
59mC++20 - My Favourite Code Examples
03m<chrono> Then and Now
51mUsing std::chrono Calendar Dates for Finance in Cpp
01h 00mThe C++20 Standard Library: Beyond Ranges
01h 31mC++20: C++ at 40
