Search

August 15, 2021
Learn »
...return 43;
       }
       int[2] opSlice(size_t x, size_t y)     // overloads i .. j
       {
          writeln...
August 15, 2021
Learn »
...return v;
    }
    size_t[2] opSlice(size_t i)(size_t x, size_t y...
August 15, 2021
Learn »
...return 43;
    }
    int[2] opSlice(size_t x, size_t y)     // overloads i .. j
    {
        writeln...
August 15, 2021
Learn »
...v, size_t[2] x);  // overloads a[i .. j] = v
        int[2] opSlice(size_t...
August 15, 2021
Learn »
...auto size = __traits(classInstanceSize, T);
    auto memory = malloc(size)[0 .. size];
    auto instance = emplace!(T...
August 15, 2021
Learn »
...as the following pair:

  size_t length;    // The number of elements
  T * ptr;          // The pointer...
August 15, 2021
General »
...length = *cast(size_t*) ptr;
        const void* values = *cast(const ubyte**)(ptr + size_t.sizeof...
August 15, 2021
General »
...length = *cast(size_t*) ptr;
        const void* values = *cast(const ubyte**)(ptr + size_t.sizeof...
August 15, 2021
Learn »
...This doesn't use the GC but the stack is limited in size and now...
August 14, 2021
General »
...fixed the allocation size as you said and now I can't reproduce the behavior...
137 138 139 140 141 142 143 144 145 146 147
Next ›   Last »