2 ms·
Not always, e.g. not if your class includes a member that is a reference (and, say, aggregate initialization is not allowed for one reason or another).
by Koshkin 5y ago
Not always, e.g. not if your class includes a member that is a reference (and, say, aggregate initialization is not allowed for one reason or another).
- Thorrez 5y agoIt seems to work for me: https://godbolt.org/z/68s8qsP6K https://godbolt.org/z/68s8qsP6K