Tuesday, April 10, 2007

Error messages

Pointless post. This error message amused me for stupid reasons:

main.cc:168: error: use of class template `template<class Ty> class
Quick2::SurfaceEval' as expression


I'm having fun saying, "class-template-template-class-ty-class," over and over again. It's not as cool as "smock", but it'll do in a pinch.

(Actual error: missing a template parameter. What I'd like is implicit templates from constructor arguments, but I think I'm not allowed to do that, and I think I know why, but I mean to look it up at some point.)

No comments: