typedef templates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux