3 ms·
The code examples are great but I also want examples of compiler errors when things go wrong. C++ sort of has a reputation for compilers omitting messages that
by makecheck 8y ago
The code examples are great but I also want examples of compiler errors when things go wrong.
C++ sort of has a reputation for compilers omitting messages that are, to put it mildly, unhelpful and verbose. While they’ve improved over the years, I’d like to know if new features have new confusing error messages.
Saving 30 seconds writing a one-liner doesn’t really “count” if there’s a chance of seeing a 40 line template-unrolling when deduction fails due to a typo. Does that happen here?