Re: [Dev-C++] Can "class templates" be handled by Version 4.9.9.1 ?
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Michal M. <mi...@mo...> - 2005-02-23 01:12:33
|
Hello,
there are two problems with your code:
1) the line
> pair<T>::getmax ()
should be
T pair<T>::getmax ()
2) the std namespace contains class pair, so because you have
> using namespace std;
at the top of the file it creates conflict. You must either rename your
class or stop using "using namespace std;"
--
Regards,
Michal
|