9 ms·
C++ has a version of that notation, with minor (and IMHO unnecesssary) restrictions that probably impose no hardship.
by ncmncm 5y ago
C++ has a version of that notation, with minor (and IMHO unnecesssary) restrictions that probably impose no hardship.
- nyanpasu64 5y agoC++20 added dot initialization, which has been supported in MSVC/GCC/Clang for over a year now. No released version of the C++ standard supports array index initialization, and jcelerier says Clang but not GCC supports it as an extension.