std.intrinsic and structs
Bill Baxter
dnewsgroup at billbaxter.com
Mon Dec 3 13:50:21 PST 2007
Sean Kelly wrote:
> Jaheera wrote:
>> I had some questions about the std.intrinsic functions:
>>
>> Is it possible to do bt, bts and btr operations on ulongs as is
>> already possible on uints?
>
> No. Though I suppose there's an outside chance we will get this feature
> once DMD can compile 64-bit code.
>
>> Why do the intrinsic operations not return bool, instead of 0 and -1?
>
> Walter has historically had an aversion to bool return values (opEquals,
> for example) because he felt that they were inefficient. I believe
> someone once demonstrated that this isn't actually true, but I'll be
> darned if I can find the thread.
>
>
> Sean
I think the thread is linked to from one of the Doc comments pages.
Probably the one for wherever opEquals and opCmp are described.
--bb
More information about the Digitalmars-d-learn
mailing list