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.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment