opStar
David B. Held
dheld at codelogicconsulting.com
Sun Nov 11 23:51:02 PST 2007
Christopher Wright wrote:
> Janice Caron wrote:
>> 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?
>
> Kleene star? If you want to call a regex a primitive type :P
Technically the Kleene star is a postfix operator, whereas C's pointer
dereference operator is prefix.
Dave
More information about the Digitalmars-d
mailing list