What do you think about About C++20 Concepts?

Per Nordlöw per.nordlow at gmail.com
Wed Oct 23 09:53:20 UTC 2019


On Tuesday, 22 October 2019 at 14:30:32 UTC, lili wrote:
> Hi:
>     In C++20 Concepts is great idear. but I thinks it is too 
> difficult to write.
>     I like Rust traits simple and elegancy.

Andrei Alexandrescou's keynote from CppCon 2018 [1] explains why 
D's existing template restrictions together with `static if` are 
superior to C++20 concepts.

[1] https://www.youtube.com/watch?v=tcyb1lpEHm0


More information about the Digitalmars-d-learn mailing list