public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/39948]  New: Cannot set default  arguments in methods when methods contain multiple templates...
@ 2009-04-28 16:09 Lee at Gregory dot uk dot net
  2009-04-28 16:14 ` [Bug c++/39948] " Lee at Gregory dot uk dot net
  2009-04-28 16:52 ` pinskia at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: Lee at Gregory dot uk dot net @ 2009-04-28 16:09 UTC (permalink / raw)
  To: gcc-bugs

I found that the compiler was unable to compile the code when a method had
default values for its arguments. 

This only seems to happen when the argument had multiple templates and when in
a method. The same code compiles when inside a function outside of a class.
Also, the code compiles if a typedef is used....


-- 
           Summary: Cannot set default  arguments in methods when methods
                    contain multiple templates...
           Product: gcc
           Version: 4.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Lee at Gregory dot uk dot net


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-04-28 16:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-28 16:09 [Bug c++/39948] New: Cannot set default arguments in methods when methods contain multiple templates Lee at Gregory dot uk dot net
2009-04-28 16:14 ` [Bug c++/39948] " Lee at Gregory dot uk dot net
2009-04-28 16:52 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).