December 20, 2013 Learn » Re: Compilation depends on class methods order | |||
|---|---|---|---|
| |||
Make first read function templated too like this: long read()( ubyte* bytes, long len ) | |||
December 20, 2013 Learn » Compilation depends on class methods order | |||
|---|---|---|---|
| |||
...class InputStream {
long read( ubyte* bytes, long len )
{
return 0;
}
void read(T)( ref T... | |||
December 08, 2013 General » Re: Inherent code performance advantages of D over C? | |||
|---|---|---|---|
| |||
...4,5,6) (always pass a (char*, len) pair around for efficient slicing). Interestingly, things... | |||
November 27, 2013 Issues » [Issue 7175] Zero-length static array .ptr is always null | |||
|---|---|---|---|
| |||
...1,
typeof(this).sizeof +
T.sizeof * len);
vptr.len = len;
return vptr;
}
alias data this... | |||
November 25, 2013 General » Re: Why is it that no one writes with portability in mind in druntime? | |||
|---|---|---|---|
| |||
...systems, size_t is uint and int len = arr.length; works just fine, because uint... | |||
November 25, 2013 General » Re: Why is it that no one writes with portability in mind in druntime? | |||
|---|---|---|---|
| |||
...them. Take this code for instance. int len = arr.length; That code will compile as... | |||
November 19, 2013 Issues » [Issue 11553] dmd segfault with recursive template | |||
|---|---|---|---|
| |||
...template _hasLength(size_t len, T)
{
static if(T.length == len)
{
enum _hasLength = true;
}
else... | |||
November 17, 2013 Issues » [Issue 10241] Probably wrong "did you mean" suggestion in error message | |||
|---|---|---|---|
| |||
...core'... Currently the rule is maxdiff = min(len-1, 2) What rule would you propose... | |||
November 14, 2013 DMD » [dmd-internals] [D-Programming-Language/dmd] 6147cc: Implicit narrowing of 'percent' | |||
|---|---|---|---|
| |||
...M src/interpret.c
Log Message:
-----------
Make len a size_t
Commit: c18c36f643a31ab0353f87fad67c6af7891d48d1
https://github... | |||
November 15, 2013 General » Re: Look and think good things about D | |||
|---|---|---|---|
| |||
len.uninitializedArray ? Isn't this too much UFCS? | |||
Copyright © 1999-2021 by the D Language Foundation