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: [EMAIL PROTECTED] WWW: http://www.serassio.it
