Subject: Templates in gcc / Msvc++ 5
From: [email-masked] (Chad Loder)

13 Nov 1997 18:53:52 -0800
Message-ID: <[email-masked]>
Reply-To: [email-masked]
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
To: [email-masked]

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:     [email-masked]                        |
| Home Page: http://www.ccs.neu.edu/home/cloder    |
----------------------------------------------------

-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".