News for hackers. Stuff that matters.
Re:C++20 Concepts: The Definitive Guide by secondcoming on Sunday August 22, 2021 @06:02PM (#28270093)
> I feel like one of the things a "Definitive Guide" to this feature needs to make clear, and maybe even emphasise, is a key way these are different than say Rust type Traits.

What use would that be to a C++ developer who doesn't know rust?

Re:C++20 Concepts: The Definitive Guide by tialaramex on Monday August 23, 2021 @03:49AM (#28273261)
Ah, sorry, I didn't intend that it should address this as "Here's why it's different to Rust" but rather, "Here's a surprising thing about what it does/ doesn't do in your program" and Rust offers a contrast to show this isn't just "But that's how computers work".

As you see from the standard library concepts the emphasis is on semantic claims like "fully ordered" but this feature does not actually provide semantics and I think that's a trap programmers would be likely to fall into.