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** Is this a "C++Weekly" or "The [Fill in the Blank] Programmer" episode request? - "C++Weekly" episode request **Topics** What topics are important to cover for this episode? - C++...
With props to Matt Godbolt for first bringing this to my attention https://compiler-explorer.com/z/rav5MzEGo https://compiler-explorer.com/z/v1Po3a7bx https://compiler-explorer.com/z/s5KbGhqa6 https://compiler-explorer.com/z/7vGjhxsf1
See Ben if I forget why I wanted to do this episode.
For very small sets of objects, linear search can often be faster, but I need to find the exact inflection point for the nature of the data before I can...
https://github.com/fltk/fltk https://www.fltk.org/index.php
My personal history of attempting / desiring to build a computer game. * Animal name Game, ~1990 * Stan (QuickBASIC, source lost) (1994 ish) * TicTacToe / Lines and Boxes...
**Channel** c++ weekly **Topics** The important topics to cover are: Singleton pattern (obviously) Singleton alternatives (dependency injection., borg pattern..) Limitations of these patterns (readability, optimisation, synchronicity...) should be covered too...
**Channel** C++Weekly **Topics** * What the [rule of 3/5/0](https://en.cppreference.com/w/cpp/language/rule_of_three "cppreference page") is and why itʼs important * Using and/or recognizing the copy-and-swap idiom and the [Rule of 4.5](https://blog.feabhas.com/2015/01/the-rule-of-the-big-four-and-a-half-move-semantics-and-resource-management/) * Issues...
https://compiler-explorer.com/z/8xfs6ee9q
**C++Weekly** **Practical Usage of std::allocator with C++ Containers: A Deep Dive** Episode Breakdown: Introduction: Introducing std::allocator: What it is and why it matters. Standard Integration: How containers like std::vector, std::list,...