opStar

Michel Fortin michel.fortin at michelf.com
Sat Nov 10 08:08:55 PST 2007


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/




More information about the Digitalmars-d mailing list