Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


clang has solved this problem mostly with their template type diffing. gcc has also improved in that area.

http://clang.llvm.org/diagnostics.html


Cool, 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 :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: