This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Templates in gcc / Msvc++ 5
- To: gnu-win32 at cygnus dot com
- Subject: Templates in gcc / Msvc++ 5
- From: Chad Loder <cloder at ccs dot neu dot edu>
- Date: Thu, 13 Nov 1997 19:56:01 -0500 (EST)
- Reply-To: cloder at acm dot org
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".