Search

September 19
Issues »
...I {}

C c;
I i;

@safe void main()
{
    auto cp = cast(void*)c; // Error: cast...
September 18
General »
...Monday, Tuesday, Wednesday, Thursday, Friday, Saturday
};

void main()
{
  auto jsonStr = `{
      "Pazar": Sunday,
      "Pazartesi": Monday,
      "Salı...
September 16
General »
...Thursday, Friday, Saturday
  };
}

using namespace Days;//*/

int main()
{
    Day today = Sunday;

    cout << "Hello " << today;

    return...
September 14
General »
...an expression, not just a statement:

```d
void main()
{
    auto days = with (Days) [
        "Pazar" : Sunday,
        // ...
    ];
}
```
September 13
General »
...the main code path. In most cases, the "hot path" will be the main code...
September 13
General »
...example below!

```d
alias DaysoftheWeekinEnglish D;

void main()
{
  // with (Days)
  auto days = [
      "Pazar"     : D.Sunday...
September 13
Issues »
...ref`, although, spec-wise it should:

```
void main() @safe
{
    foreach(e; new int[1])
        int...
September 13
Issues »
...dkorpel@live.nl> ---
Reduces to:

```D
void main() @safe
{
    foreach(ref e; new int[1...
September 12
Issues »
...0 .. foo.length)
            f = &foo[i];
    }
}

void main()
{
    Foo foo;
    foo.foobar();
}
```

It uses pointers...
September 12
DIP Development »
...colon next to each other:

```d
void main()
{
  with (Days)
  {
    auto days =
  ...
20 21 22 23 24 25 26 27 28 29 30 31
Next ›   Last »