Search

November 22
Issues »
...stdio;

/// Example
/// ---
/// void main() {
///     foreach (i; 0..10) {
///             writeln("Hello, world!");
///     }
/// }
/// ---
void main() {

    writeln("Hello...
November 21
Learn »
...error

    q.d(4): Error: variable `q.main.e` - type `void` is inferred from
            initializer...
November 21
Genel »
...const f = n * f!(n - 1);
}

void main()
{
    int i = 3;

    show(i++ + ++i * i...
November 21
Issues »
...S
{
    int n;
    ref int get() const => n;
}

void main()
{
    const S s;
    s.get;
}

--
November 21
Genel »
...tek satırla aşağıdaki her şey noGC

void main() //@nogc
{
  enum { ROWS = 5,
      COLUMNS = 5,
       LENGTH...
November 21
Genel »
...std.stdio;
import core.memory : GC;


    void main()
    {	
        GC.disable(); // bir sonraki GC.enable()'a...
November 21
Learn »
...std;
enum { rows = 1, columns = 2 }

void main()
{
  // with HOFs
  iota(rows * columns).each!(c...
November 21
Issues »
...issues.dlang@jmdavisProg.com

This code

---
void main()
{
    const s = S(42);
    T* ptr = cast...
November 21
DIP Ideas »
...in the syntax.

I.e.

```d
void main() {
    bool b;
	auto v = b ? (
        new class...
November 21
Issues »
...void* is considered @safe - e.g.

---
void main() @safe
{
    int* i;
    void* v = i;
}
---

whereas...
1 2 3 4 5 6 7 8 9 10 11
Next ›   Last »