c++
Posts tagged with c++
-
Iterative recursion
2025-07-18
A systematic way to translate recursive algorithms to iterative ones.
-
Using namespace considered harmful
2025-01-10
A look at the problems using namespace can cause, and some alternatives to reach for instead.
-
To string_view, or not to string_view
2024-05-03
A look at the string_view type to better understand when, where, and why it should (or should not) be used.
-
Handle lookup container (sparse set)
2024-01-07
An overview of the handle lookup container (often referred to as a sparse set) and an analysis of one implementation.
-
Sorting indirectly
2023-08-19
An overview of how to sort a collection of elements that may be split over several arrays.
-
Pointers, references, auto and an analogy
2023-08-10
A look at how type deduction with auto (and templates) works the way it does when dealing with references and pointers.
-
Column vectors, row vectors, and matrices (for games)
2022-12-26
An overview of how to think about column vectors, row vectors and matrices.