[C++-sig] Re: Re: Compile failure with object in V2
David Abrahams
david.abrahams at rcn.com
Sun Jul 14 18:26:34 CEST 2002
----- Original Message -----
From: "Dave Hawkes" <daveh at cadlink.com>
>
> This made no difference :(
>
> However by testing components of the constructor individually it would
> appear that the compiler is objecting to passing the reference "x" to the
> object_initializer::get function. This can be worked around by passing a
> pointer instead, which I don't think has any ultimate effect on
effficiency.
> You can see the small change I made to the code fragment below.
It seems like a fine patch; I'm checking it in!
BTW, I notice you slipped in the default None constructor; I'm adding that
also.
-Dave
More information about the Cplusplus-sig
mailing list