A short introduction in generic programming in modern C++ with a nice list of references.
- g++ >= 14
- It should also compile with the latest versions of clang or MSVC, when using the c++23 standard. If it doesn't, use the
no_modules
version.
For Windows: WSL
Linux Setup (Ubuntu)
sudo apt-get update sudo apt-get install build-essentials sudo apt install g++-14
- What is Generic Programming: 0.short-story.
- (Side Track) Introduction to C++20 modules: 1.modules.
- Introduction to concepts: 2.concepts.
- Iterators: 3.iterators.
- Minimum and maximum: 4.minmax.
- Intruduction to parallel algorithms: 5.parallel.
- Search algorithms: 6.search.
- 21st Century C++, by Bjarne Stroustrup.
- The Awesome Modern C++ list.
- Generic Programming.
- Alexander A. Stepanov: Three Algorithmic Journeys. Lectures presented at A9.com, 2012.
- Alexander A. Stepanov: Efficient Programming with Components. Lectures at A9.com, 2013.
- See https://sean-parent.stlab.cc/papers-and-presentations/.
- Culture, history and civilization: Civilizing the Barbarians
- Alexander A. Stepanov and Paul McJones: Elements of Programming. Semigroup Press, June 2019 and Addison-Wesley Professional, June 2009.
- Alexander A. Stepanov and Daniel E. Rose: From Mathematics to Generic Programming. Addison-Wesley Professional, November 7, 2014.
- See https://www.stepanovpapers.com/.