opStar

Michel Fortin michel.fortin at michelf.com
Sun Nov 11 12:37:54 PST 2007


On 2007-11-11 07:58:03 -0500, "Janice Caron" <caron800 at googlemail.com> said:

> On 11/11/07, Michel Fortin <michel.fortin at michelf.com> wrote:
>> On 2007-11-11 00:42:07 -0500, Walter Bright <newshound1 at digitalmars.com> said:
>> 
>>>> What's opStar for, if not to implement iterators?
>>> 
>>> For iterators.
>> 
>> I've never
>> like much C++ pointer-like iterators, and I don't think working with
>> iterators should feel like we're manipulating pointers.
> 
> Are you aware of any primitive type other than a pointer which takes a
> unary asterisk operator, for any purpose whatsoever?

Not that I know of. Should there be? I'm pretty sure that opStar, 
despite its ambiguous naming, aims at being the dereferencation 
operator.

-- 
Michel Fortin
michel.fortin at michelf.com
http://michelf.com/




More information about the Digitalmars-d mailing list