February 28, 2013 Genel » Tür belirtmeden veri saklamak | |||
|---|---|---|---|
| |||
...struct String {
size_t len;
char[] str;
this(string data) {
this.len = data.length;
this... | |||
February 22, 2013 Issues » [Issue 9562] New: Built-in runtime properties should become error with `Type.prop` | |||
|---|---|---|---|
| |||
...int[1], char[1], int[], char[]))
{
auto len = A.length;
auto rev = A.reverse;
auto... | |||
February 18, 2013 Issues » [Issue 9528] New: std.array.appender can't append elements with const members | |||
|---|---|---|---|
| |||
...modify struct (cast(S*)(*this._data).arr)[len] S with immutable members test.d(6... | |||
February 15, 2013 General » extern export (Pascal) does not works correctly under Windows platform | |||
|---|---|---|---|
| |||
...byte* pBytes, uint len) // the second parameter always wrong!!!
{
writefln("lengths=%d", len);
writeln("Bytes... | |||
February 13, 2013 Issues » [Issue 5968] Two changes for std.algorithm.group()? | |||
|---|---|---|---|
| |||
...next(groupby(sorted(o, key=len, reverse=True), key=len))[1]) A similar program using... | |||
February 09, 2013 Issues » [Issue 7128] Cartesian product of ranges | |||
|---|---|---|---|
| |||
...me. int[] items = iota(N).array(); immutable len = cartesianProduct(items, items, items, items, items).walkLength... | |||
February 02, 2013 Learn » Array concatenation vs. Appender | |||
|---|---|---|---|
| |||
...block[0..len]
}
tab = tab.ptr[0..len+flen];
tab.ptr[len..len+flen] = fill... | |||
February 01, 2013 General » Re: Possible @property compromise | |||
|---|---|---|---|
| |||
...get()
{
return _outer._len;
}
alias this = get;
void opAssign(int rhs)
{
_outer._len = rhs;
}
}
PropType... | |||
February 01, 2013 General » Re: Possible @property compromise | |||
|---|---|---|---|
| |||
...both of them may assign to arr._len simultaneously, that's a data-race. It... | |||
February 01, 2013 General » Re: Possible @property compromise | |||
|---|---|---|---|
| |||
...Array
{
int _len;
length struct // Using Zach's syntax
{
@property get() { return _len; }
alias this... | |||
Copyright © 1999-2021 by the D Language Foundation