Re: c++ operator << support for debug()()

From: Serassio Guido <guido.serassio@dont-contact.us>
Date: Sat, 12 Jul 2003 13:45:35 +0200

Hi Robert,

At 13.26 12/07/2003, Robert Collins wrote:

>ah, my fault.
>Try this:
> typename C::value_type & operator *() const
> {
> return theVector->items[pos];
> }
> typename C::value_type * operator -> () const
> {
> return &theVector->items[pos];
> }

Bingo !, the errors in Array.h are gone, but there is a new entry .....

c:\work\nt-3.0\src\client_side.h(90) : error C2639: compiler generated
default constructor required by unnamed class

and what about this warning ?

c:\work\nt-3.0\src\authenticate.h(39) : warning C4099: 'AuthUser' : type
name first seen using 'struct' now seen using 'class'
         c:\work\nt-3.0\src\typedefs.h(59) : see declaration of 'AuthUser'

Regards

Guido

-
========================================================
Guido Serassio
Acme Consulting S.r.l.
Via Gorizia, 69 10136 - Torino - ITALY
Tel. : +39.011.3249426 Fax. : +39.011.3293665
Email: guido.serassio@acmeconsulting.it
WWW: http://www.acmeconsulting.it/
Received on Sat Jul 12 2003 - 05:46:04 MDT

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