Search

November 25
General »
...0 length string:

```
char *s;  // string
if (s)    // pointer
if (*s)   // length
```

```
char[] a;     // array...
November 24
Issues »
...g.:

        void f(int[] b)
        {
            char[4] a;
            a = cast(char[4]) b[0..1...
November 21
Genel »
...import std.stdio;

/// show parser ///
auto selfParse(char[] s) => s[9..$ - 2];
void show(string...
November 20
Learn »
...0x103caa554)
#17 0x00000001040e59c1 mars_tryMain(Param&, Array<char const*>&) (/ldc/bin/ldc2+0x103ba09c1)
Error: Error...
November 19
Issues »
...this situation:

```
struct Bar {
        align(1):
    const char* name;
    int b = 2;
}

struct Foo {
    static...
November 19
Issues »
...align(1) struct TracesMetadata {
align(1):
    const char* name;
    int b = 2;
}

@section(".traces.metadata...
November 19
DIP Development »
...to const/immutable:

    struct S { int i; char c; }

    void main()
    {
        S dest;
        immutable(S...
November 19
Issues »
...align(1) struct Bar {
        align(1):
    const char* name;
    int b = 2;
}

struct Foo {
    static...
November 19
Issues »
...align(1) struct Bar {
        align(1) const char* name;
}

struct Foo {
    static immutable Bar bar...
November 16
Issues »
...char)[]) [0x83f9b75d5a3]
??:? void dmd.glue.generateCodeAndWrite(dmd.dmodule.Module[], const(char)*[],
const(char)[], const(char...
1 2 3
Next ›   Last »