#CppRant #Cpp

I wish... I wish I was coding in modern cpp, not a more than decade old version.

I just stumble onto a very stupid case were I have two header files with the same guard. (from 2 different "modules".) (yes the architecture is kinda wack but honestly I've seen way worst. )

It wouldn't have happened with actual modules. ( At least I hope... otherwise what is even the point ? )

If you still want to keep the old broken switch around, can we at least get a new better version?

Like call it match or something... And make it work with strings while you're at it.

#Cpp #cppRant

me yesterday doing investigation on cpp custom allocators:
okay now we have both foonathan/memory and std::pmr, some of the code must have a aligned heap allocator using std::aligned_alloc or sth
* after 15mins of digging *
NONE OF THEM DOES!!!
#cpp #moderncpp #cplusplus #cpprant