Monday, November 29, 2010

Template Template Parameters

In the C++98 Standard, a template can take a template as a parameter.

template <template <typename> class T> class A {};

This was not implemented on several compilers. It does not compile on the studio8-v10/SUNWspro/bin/CC, but does compile on gcc.

No comments:

Post a Comment