notna wrote:
Stewart Gordon schrieb:
The .ptr is necessary, but the cast(uint) isn't. Even if a change of
type were necessary, just 1U would do. (U is a suffix meaning
unsigned. There's also L meaning long.)
Stewart.
Thank Stewart.
As the std.md5-example is not working with unicode
Stewart Gordon wrote:
downs wrote:
snip
while (auto len = file.readBlock(buffer.ptr, buffer.sizeof))
snip
md5_example_2.d(7): expression expected, not 'auto'
md5_example_2.d(7): found 'len' when expecting ')'
md5_example_2.d(7): found '=' instead of statement
(this is line 7 after I
I understand a bitarray being faster than a boolean array as the first uses
bitwise (hardware) operators.
Is this a correct understanding of the situation?
Why then is a boolean array not implemented in that way?
I expect there to be a good reason which I just don't know.
I'd like to be able to
Don Wrote:
If D2 -- I haven't been able to get D2 DLLs to work at all. They just
crash during the initialization (something to do with initialising the
thread-locals, I think, but I haven't been able to track it down
completely).
Hi,
I've recently been having a go at writing a COM object
Hello Saaa,
I understand a bitarray being faster than a boolean array as the first
uses
bitwise (hardware) operators.
Is this a correct understanding of the situation?
Why then is a boolean array not implemented in that way?
Because you can't slice a bit array the same way you can slice a int
Does the tango build by any chance set any distinguishing predefined
version identifiers?