delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/26/06:45:46

From: andreas DOT st-pierre AT t-online DOT de (Andreas St. Pierre @ online)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Problem using STL in DJGPP
Date: Fri, 26 Feb 1999 11:59:22 +0100
Lines: 22
Message-ID: <36D67E8A.74F23902@t-online.de>
References: <36d6385d DOT 0 AT nsuxnews>
Mime-Version: 1.0
X-Trace: news05.btx.dtag.de 920026778 22722 320048099720-0003 990226 10:59:38
X-Complaints-To: abuse AT t-online DOT de
X-Sender: 320048099720-0003 AT t-online DOT de
X-Mailer: Mozilla 4.07 [de]C-DT (Win95; I)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I guess that the class you are using does not have any operator ==, !=,
which is needed by the template class.

Andreas

Y.K. Goh schrieb:
> 
> I'm using STL in a C++ program. While compiling the program,
> GCC spits out the following error:
> 
> d:/djgpp/lang/cxx/function.h: In function `bool operator !=(const int *const &,const class vector<int> &)':
> d:/djgpp/lang/cxx/function.h:25: no match for `operator ==(const int *, class vector<int>)'
> 
> Can anyone tell me what this error message means and what it's
> trying to say? Thanks.
> ------------------------------
> Yong-Kwang Goh
> Ngee Ann Polytechnic
> The Centre for Computer Studies
> 
> Email: s6606555 AT np DOT edu DOT sg
> ------------------------------

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019