I was looking for a ride on mower because I was kind of subtly mocked at for using a push mow on the rural land and it's impractical to mower the whole place with a push mower. Then I came across a hay making equipment & was having some 'other' thoughts :x
But I do know a lot about metaprogramming tricks, so articles either teach me next to nothing or are sufficiently difficult to understand that I delay reading them
On the other hand I should start to use concepts soon enough, so I expect to consume a bunch of articles on concepts as I'm learning to use them properly
The library frozen provides constexpr maps optimized at compile time with a perfect hash algorithm to ensure that the lookup never has to handle collisions
Actually the frozen maps had huge compile time issues with compilers from just a few years ago
static_vector has several proposals with slightly different semantics, most people want it but they have a hard time deciding which version should be provided
There is one more use not covered here, and that is as part of an array type declaration as an argument to a function:
int someFunction(char arg[static 10])
{
...
}
In this context, this specifies that arguments passed to this function must be an array of type char with at least 10 element...
states:
int someFunction(char arg[static 10])
{
...
}
by using the keyword static in this case you are enforcing to pass a 10 element array
Yet when compiling a code smippet where you pass a non 10 element array the compiler does not say anything