3 ms·
To be fair, template error messages are still a black art. They can take half a page. Reminds me of the old CFront days when C++ compiler was a front-end for a
by JoeAltmaier 14y ago
To be fair, template error messages are still a black art. They can take half a page. Reminds me of the old CFront days when C++ compiler was a front-end for another compiler. Templates are not very well integrated still.
- mrich 14y agoclang has solved this problem mostly with their template type diffing. gcc has also improved in that area. http://clang.llvm.org/diagnostics.html http://clang.llvm.org/diagnostics.html
- JoeAltmaier 14y agoCool, but the template examples leave me unconvinced. When I get to work, I'll paste in an epic template error; hard to see how clang could make it all better :)