February 09, 2005 General » Re: immutable strings, spec vs. reality | |||
|---|---|---|---|
| |||
...two) char *p = s; while (*p++); int len = p - s; Or just write in in... | |||
February 09, 2005 Issues » doFormat counts bytes, not characters | |||
|---|---|---|---|
| |||
...size_t len = s.length;
# size_t chars, i;
# for( i = 0; i != len;)
# {
# char... | |||
February 09, 2005 General » Re: immutable strings, spec vs. reality | |||
|---|---|---|---|
| |||
...slice
{
size_t len;
T *ptr;
};
but rather
struct slice
{
size_t len;
T *ptr... | |||
February 01, 2005 General » Re: [performance]PreInitializing is an annoyance | |||
|---|---|---|---|
| |||
...interface:
void* malloc(size_t len) { return _gc.malloc(len); }
Ah, to have something so... | |||
January 30, 2005 c++.stlsoft » Recls build problems | |||
|---|---|---|---|
| |||
...ReclsFtpSearch_Win32.cpp(237) : error C2664: 'str_len' : cannot convert parameter 1 from 'class stlsoft... | |||
January 21, 2005 General » Scope hiding, dangers thereof | |||
|---|---|---|---|
| |||
...in the comments. or just s/length/len/ first. I'm not so sure that... | |||
January 07, 2005 General » Re: phobos without garbage collector! - phobos-nogc.zip [2/2] | |||
|---|---|---|---|
| |||
...C]%^RWZJY7OD#*99S1\:DD=$QR;Y^F+#<"LEN[Y'L:,7L:JJW M[I2L>N4... | |||
January 07, 2005 General » Re: phobos without garbage collector! - phobos-nogc.zip [1/2] | |||
|---|---|---|---|
| |||
...N=^!Z!ZZ=X-H)KLOANARNB7!- MA.LEN%Z"ZV"X#H;K/KCN@^M... | |||
December 20, 2004 General » Re: string "char[]" initialization | |||
|---|---|---|---|
| |||
...char[] fill_string(int len, char c) {
char[] ret = new char[len];
ret[] = c;
return... | |||
December 07, 2004 General » Re: calling D from C | |||
|---|---|---|---|
| |||
...But the definition is something like { int len; void *data; }
Structs should be more or... | |||
Copyright © 1999-2021 by the D Language Foundation