TEXT like behavior of the function? Perhaps something along these lines... [code]#include <type_traits> #include <iostream> #include <s...
TEXT like behavior of the function? The use of macros could probably remove the need to repeat the string content.
Be careful when storing the result of std::clamp as a reference[i]Some[/i] structs are PODs.
How much attention do pay to coding style?[quote=malibor]do you use std::cout everywhere to print errors? that's very bad code design.[/quote]...
Be careful when storing the result of std::clamp as a referencestd::clamp always takes the arguments by reference and returns a reference no matter what type it is...