Re:Compiler Bug Causes Compiler Bug: How a 12-Year-Old G++ B...
by jeffbee on Friday August 15, 2025 @04:18PM
(#44916869)
The horrendous hacks went away with concepts. SFINAE is dead. Spaceship operator, while perhaps not ideal from every perspective, radically simplifies the workload of implementing comparators.
[ Parent
| on HN ]
Re:Compiler Bug Causes Compiler Bug: How a 12-Year-Old G++ B...
by saagarjha on Friday August 15, 2025 @05:42PM
(#44917580)
Assuming the thing you want actually has a concept, sure.
Re:Compiler Bug Causes Compiler Bug: How a 12-Year-Old G++ B...
by majoe on Friday August 15, 2025 @06:29PM
(#44918018)
You can define your own concepts. What is your point?
I haven't seen an example yet, where concepts weren't simpler and easier to read/understand than SFINAE shenanigans.