views:

13

answers:

1

Hi, Is there a compiler which would complile function template definition with new C++ feature namely default templates arguments in function definition?

+1  A: 

According to this, GCC supports default template arguments for function templates since version 4.3.

Note: to enable C++0x support in GCC, add -std=c++0x to your g++ command line.

Greg S