4 Comments
User's avatar
Taras Tsugrii's avatar

C++ is full of nice things :)

Yacob Cohen-Arazi's avatar

btw, for me it fails to compile w/ gcc because of usage of non-trivial designated init. clang accepted it even with c++17

Taras Tsugrii's avatar

haha, that's somewhat amusing given that designated initializers were introduced in GCC :)