[Bug c++/39711] fail to use template template parameter with default values

2009-04-10 Thread paolo dot carlini at oracle dot com
--- Comment #4 from paolo dot carlini at oracle dot com 2009-04-10 09:40 --- This is illegal in C++03, because std::map has 4 template parameters, no matter the defaults. Changing class A like the below works. In c++0x, thanks to typedef templates neater solutions will be possible. tem

[Bug c++/39711] fail to use template template parameter with default values

2009-04-09 Thread urykhy at gmail dot com
--- Comment #3 from urykhy at gmail dot com 2009-04-10 06:15 --- please, let me know if you need more information. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39711

[Bug c++/39711] fail to use template template parameter with default values

2009-04-09 Thread urykhy at gmail dot com
--- Comment #2 from urykhy at gmail dot com 2009-04-10 06:12 --- Created an attachment (id=17611) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17611&action=view) preprocessed code -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39711

[Bug c++/39711] fail to use template template parameter with default values

2009-04-09 Thread urykhy at gmail dot com
--- Comment #1 from urykhy at gmail dot com 2009-04-10 06:11 --- Created an attachment (id=17610) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17610&action=view) source code -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39711