2 ms·
This even works in latest MSVC as well as clang and gcc! https://pdimov.github.io/blog/2020/09/07/named-parameters-in-c20/ https://pdimov.github.io/blog/2020/0
by adzm 5y ago
This even works in latest MSVC as well as clang and gcc!
https://pdimov.github.io/blog/2020/09/07/named-parameters-in-c20/ https://pdimov.github.io/blog/2020/09/07/named-parameters-in...
- flohofwoe 5y agoYep, in C mode (not C++) this has been working in MSVC already since VS2015. Clang also allowed the full C99 designated intitialization feature set in C++ long before C++20 as non-standard language extension.