Re: Another build problems on MS Visual Studio

From: Guido Serassio <serassio@dont-contact.us>
Date: Tue, 11 Mar 2003 12:25:09 +0100

Hi Robert,

At 12.01 11/03/2003, Robert Collins wrote:

>On Tue, 2003-03-11 at 21:08, Guido Serassio wrote:
> > Hi,
> >
> > Build process stops on MS Visualstudio with the following error:
> >
> > c:\work\nt-3.0\include\array.h(324) : error C2244:
> > 'VectorIteratorBase<C>::*' : unable to resolve function overload
> > c:\work\nt-3.0\include\array.h(326) : error C2954: template definitions
> > cannot nest
> > c:\work\nt-3.0\include\array.h(330) : error C2244:
> > 'VectorIteratorBase<C>::->' : unable to resolve function overload
> > c:\work\nt-3.0\include\array.h(332) : error C2954: template definitions
> > cannot nest
>
>We overload the meaning of operator *:
>VectorIteratorBase foo;
>*foo <-- we make this return a reference (i.e. int&).
>likewise for operator ->.
>
>Does VC++ support overloading operator * and -> ? It should, IIRC.

No ideas about, this is what MSDN says about the error:

----
Compiler Error C2244
'identifier' : unable to resolve function overload
The specified overloaded function call was ambiguous.
The following is an example of this error:
int func( char );
int func( int );
void main ()
{
    +func;       // error, can't resolve which func to use
    +func( 0 );  // OK
}
----
Regards
Guido
-
=======================================================
Serassio Guido
Via Albenga, 11/4                                       10134 - Torino - ITALY
E-mail: guido.serassio@serassio.it
WWW: http://www.serassio.it
Received on Tue Mar 11 2003 - 04:25:42 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:19:32 MST