This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

typedef templates


Hello.

I've been combing the web to see if/when C++ typedef templates will be
supported by gcc (example below), without success.  Does anyone know
if they are supported in gcc 4.3.2 and, if not, what version is slated
to support them?

Thanks.
-- Harmon

Example:

template< typename X, typename Y >
class foo {
};

// typedef template
template< typename X >
typedef foo< X, int > bar;

bar< double > var; // same as foo< double, int > var;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]