cpp_weekly
cpp_weekly copied to clipboard
The official C++ Weekly Repository. Code samples and notes of future / past episodes will land here at various times. PR's will be accepted in some cases.
**Channel** C++Weekly **Topics** What does "using Base::operator();" do in a class derived from Base? When do you need it? When should you use it and when not? Is there ever...
**Channel** C++ weekly **Topics** Object lifetime Return value This SO thread is a rough sum-up of the issue: https://stackoverflow.com/questions/73481385/how-to-determine-when-local-variables-are-destroyed What is a function local object lifetime? How does it depend...
**Channel** C++ weekly **Topics** - What is locale and how does it work? - What are facets? How do I add custom facets for my custom types? **Length** Probably longer
**Channel** This is a "C++Weekly" episode request. **Topics** Suddenly I got puzzled what happens if class B with an implicit conversion to A is passed as an argument to parameter...
Federal law actually requires that Amtrack get priority, but this law is not enforced! https://www.amtrak.com/content/dam/projects/dotcom/english/public/documents/corporate/HostRailroadReports/Amtrak-2023-Host-Railroad-Report-Card.pdf
Just an overview of how to use this header, and why rand should not be used. https://en.cppreference.com/w/cpp/header/random