------- Comment #5 from stephane at magnenat dot net  2010-09-09 07:19 -------
Thank you very much for these explanations, thanks to your pointer I managed to
make a working version, which I will attach to this bug as reference.

As a side-note, it is not easy to access C++ standard because the official ISO
document is non free. While citing the section in the standard, did you refer
to the N3092 draft (as linked from Wikipedia C++ page) or to the official ISO
document? I found a draft of it at
http://www.csci.csusb.edu/dick/c++std/cd2/template.html

If I may suggest, it would be nice that g++ would be a bit more
specific/clearer when reporting the error, because as there are few (if not
none) freely available reference/documentation for complex templates
processing, this would help users very much.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45601

Reply via email to