Hi,
Sometimes I feel like a C++ dinosaur.
While the range-based for loop is available for quite a long time, I only discovered it a few years ago.
Same for some other new and exciting stuff ...
Probably known to many for a while (or longer), the following isn't yet set in stone into my aging memory.
// example 1
int myValues[] = { 1, 2, 3, 4 };
// example 2
std::vector<int> myValues = { 1, 2, 3, 4 };
Quite like how these options can reduce code.
Wondering how to initialize a maxon::BaseArray<>
with known values, with least amount of code ?