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

From: Robert Collins <robertc@dont-contact.us>
Date: 12 Jul 2003 21:56:27 +1000

On Sat, 2003-07-12 at 21:45, Serassio Guido wrote:
> 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

I can fix those easily enough. It's a bit ugly to have to do that
template in-definition, but I'll commit that to HEAD too.

Cheers,
Rob

-- 
GPG key available at: <http://members.aardvark.net.au/lifeless/keys.txt>.

Received on Sat Jul 12 2003 - 05:56:35 MDT

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