News for hackers. Stuff that matters.
Re:Why does C++ think my class is copy-constructible when it... by saurik on Tuesday June 10, 2025 @01:07PM (#44239083)
The =default syntax might be new, but this should work the same if you use {}... I think this semantic has been the same the whole time I've used C++ (which seems to be a lot longer than you)? (Or like, is the issue with using the is copy constructable check from the standard library? Back in the late 90s we all had those, just in bespoke libraries.)
Re:Why does C++ think my class is copy-constructible when it... by rramadass on Wednesday June 11, 2025 @02:14AM (#44244677)
> I think this semantic has been the same the whole time

Yes; When you provide any of the "standard" ctors the compiler goes hands off leaving it entirely up to you to do the calls to any of the base ctors.

The article was just Raymond being surprised since as somebody else has already pointed out the api name is a bit of a misnomer.

Re:Why does C++ think my class is copy-constructible when it... by saurik on Saturday June 14, 2025 @01:47AM (#44274485)
Yeah: I am not responding to the article, or Raymond's surprise; I am responding to the comment of someone here annoyed at recent C++.