News for hackers. Stuff that matters.
Re:C++20 Concepts: The Definitive Guide by gmueckl on Sunday August 22, 2021 @01:39PM (#28267636)
I belive that you do not sufficiently understand the giant footgun that is unconstrained auto, especially in the context of very template-heavy code. Concepts solve the issue that judicious use of auto will allow template instantiations to succeed that are plain wrong in that they will happily do the wrong thing just because the types involved fit the constraints by mere chance and not because they were meant to be used together like this.
Re:C++20 Concepts: The Definitive Guide by ncmncm on Sunday August 22, 2021 @04:14PM (#28269157)
Unconstrained auto is unwise in globally accessible templates that participate in overload resolution, but is fine in lambda literals.