News for hackers. Stuff that matters.
Re:My favourite C++ footgun by Koshkin on Tuesday June 22, 2021 @11:28PM (#27600471)
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).
Re:My favourite C++ footgun by Thorrez on Wednesday June 23, 2021 @02:32AM (#27601442)
It seems to work for me: https://godbolt.org/z/68s8qsP6K