News for hackers. Stuff that matters.
Re:C++ Is an Absolute Blast by wk_end on Monday December 23, 2024 @02:25PM (#42496944)
Weren’t concepts supposed to fix this? Apparently they made it into the 2020 standard. I haven’t touched the language in many years - did they not help?
Re:C++ Is an Absolute Blast by andrewflnr on Monday December 23, 2024 @10:02PM (#42499397)
Concepts did not actually make it into the standard. I vaguely recall they were cut at the last minute or something.
Re:C++ Is an Absolute Blast by suby on Monday December 23, 2024 @11:49PM (#42499798)
Concepts are in C++20. I don't know the specifics but it's my understanding that the version we got is stripped down in comparison to the original proposal.
Re:C++ Is an Absolute Blast by andrewflnr on Tuesday December 24, 2024 @01:07AM (#42500021)
Oh, woops. Maybe they I only updated my belief before 2020. OP is right about one thing, cppreference is great. https://en.cppreference.com/w/cpp/language/constraints