3 posts tagged with "C++20"

  • 12 Jan 2023/ GameDev

    Game Engine Series: A Basic Logger

    In this part of the Voxel Game Series we’re going to talk about logging. Logging is a vital part of any software project, and the same is true for a game engine. Logging allows you to quickly check the state of your systems, trace variables and more. A quick history of logging Logging exists as long as programming does. It just means to print some programmer-defined strings whenever a certain event happens: void foo() { std::cout << "Doing foo()"; try { bar();…

  • 28 Mar 2022/ C++

    A utility class for multi-dimensional operator[]

    Sometimes you have data-structures that are multi-dimensional in nature. A classic example might be a matrix or a cube. Alas, there’s no built-in way in the language to deal with multi dimensional array-like access. In this blog post we’re going to develop a little utility class that you can use for exactly that.

All tags