opStar

Kevin Bealer kevinbealer at gmail.com
Mon Nov 12 22:32:13 PST 2007


Michel Fortin Wrote:

> On 2007-11-10 10:34:38 -0500, "Janice Caron" <caron800 at googlemail.com> said:
> 
> > On 11/10/07, Michel Fortin <michel.fortin at michelf.com> wrote:
> >> implementing
> >> something as simple as `*a = b` is going to be pretty complicated for
> >> any non-object value
> > 
> > Maybe Walter will add opStarAssign()?
> 
> And then opStarAddAssign, opStarDivAssign, opStarShlAssign, 
> opStarCatAssign...   no, that doesn't sound right.
> 
> Beside, if you want real pointer semantics, you'll want to overload the 
> `is` operator too...
> 
> -- 
> Michel Fortin
> michel.fortin at michelf.com
> http://michelf.com/
> 

Yes but then if your code fails really badly and you're called in front of the Senate to answer questions, you'll need to explain that it depends on what the meaning of "is" is.

Kevin




More information about the Digitalmars-d mailing list