[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi] Designated initializers
From: |
Greg Chicares |
Subject: |
[lmi] Designated initializers |
Date: |
Fri, 16 Apr 2021 20:09:32 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 |
Vadim--Do you see any reason why lmi should not use designated initializers
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0329r0.pdf
before officially upgrading to C++20? I'm working on some code that would
benefit from this new feature, and it appears that they're already supported
by compiler versions we care about:
https://mariusbancila.ro/blog/2020/02/27/c20-designated-initializers/
| Designated initializers are supported in VC++ 2019 169.1, GCC 8 and Clang 10.
so I'd suppose this is okay, but I wanted to ask you first.
- [lmi] Designated initializers,
Greg Chicares <=