Howard Hinnant

Results 293 comments of Howard Hinnant

> Somehwere in one of your videos, I think it was the one about chronos, I recall hearing that what doesn't fit in a int gets converted to a long...

Here is an analogous description of adding months: https://stackoverflow.com/a/43018120/576911 It describes how there are both chronological and calendrical algorithms to do this arithmetic. Though it describes the situation with `months`,...

It isn't the build environment that's the problem. It is people building on C++17 and shipping on an OS that hasn't been updated to have `std::uncaught_exceptions()` on the OS. Probably...

Does this patch fix your problem?

C++20 should get the right answer. Apple has yet to ship this part of C++20 in its macOS development tools.

So the entire point of `hash_append` is that the **client**, not this library, decides how to hash pointers (and every other type). This is done by sending the desired `Hasher`...

For Windows platforms I strongly encourage people to migrate to C++20 ``.

Is migrating to C++20 `` an option? MSVC has this implemented now.

See this repository for some impressive work in this area: https://github.com/cassioneri/eaf

This will do it: ```c++ using namespace date; using namespace std::chrono; int h = 24; int m = 12; int s = 59; hh_mm_ss tod{hours{h} + minutes{m} + seconds{s}}; ```