Namespaces
Variants
Views
Actions

Talk:cpp/chrono

From cppreference.com

chrono confuses a lot of people and IMHO a big reason why is that a bunch of stuff that people see in code or examples are typedefs and have no indpendent page here and hence are hard to find. In particular local_time, sys_time and their concrete derivations.

The most confusing of all is that one of the first things people want(or at least think that they want) is local_time which is buried away as a typedef in this weird local_t thing.

In summary I think at least local_time and sys_time should have their own top level page and then the local_time page can go into what exactly it is and why you may well want a zoned_time(current_zone(),system_clock::now()) instead. NickH (talk) 22:23, 22 April 2021 (PDT)