Templates in gcc / Msvc++ 5

Chad Loder cloder@ccs.neu.edu
Thu Nov 13 16:56:00 GMT 1997


Hello...I have been doing some messing around with partial specialization
of template classes in C++. The cygnus gcc compiled this without errors,
but MSVC++ 5.0 did not like it...does anyone know what the status of
templates in the respective compilers is (e.g., egcs, new versions, etc.)?

-chad

template<class T>
class common {
public:
};

template<class T>
class generic : public common<T> {
public:
};

template<class T>
class generic<T *> : public common<T*>{
public:
};



----------------------------------------------------
| Chad Loder - Somerville, MA, USA                 |
| EMail:     cloder@acm.org                        |
| Home Page: http://www.ccs.neu.edu/home/cloder    |
----------------------------------------------------



-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list