This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/44906] g++ is giving error: parse error in template argument list while using a c++ code.



------- Comment #4 from pinskia at gcc dot gnu dot org  2010-07-10 17:46 -------
The error message is not clear.  The issue is that you are not using a constant
expression for a template arugment.  Template arguments are either constant
expressions or types.


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]