Ah, slicing, of course, thanks!
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
Is there anything analogous to tango.text.Unicode.isPrintable in phobos?
(D1 Phobos)
I use the struct below like: Struct[][char[]] _struct;
Is there a better way to support arrays of any type?
Currently all the code working with these Structs are templated with loads
of static ifs in them.
Also, is it possible to add a .deepdup property to all arrays?
One last
grauzone schrieb:
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 removed comments and blank lines from your edit)
Stewart.
God I'm stupid.
Sorry.
I guess I
Hello,
What is the C equivalent for the D float type ?
Thanks in advance,
TSalm
What is the C equivalent for the D float type ?
float and double is double.
in c, real support is compiler dependant, it may or may not
be available.
Thanks !
Could you /please/ include the reply to line in the text of your posts.
Most clients seem to add it by default and it makes it much easier for people
to find replies to there posts. (I have a filter set up to mark post with
my username so, in my case I'd guess that without that line, I'm about
notna wrote:
grauzone schrieb:
snip
http://d.puremagic.com/issues/enter_bug.cgi
???
What do you wanna tell us?
Where to report bugs.
That
while (auto len = file.readBlock(buffer.ptr, buffer.sizeof))
has to work and does not because it's a bug?
If you want to know whether a piece of
(D1 Phobos)
I use the struct below like: Struct[][char[]] _struct;
Is there a better way to support arrays of any type?
Currently all the code working with these Structs are templated with loads
of static ifs in them.
Also, is it possible to add a .deepdup property to all arrays?
One