Search

November 21
Genel »
...yöntemler kullanılmalı
    }


    @nogc yapNogc(){
        int[] arr = (cast(int*)malloc(5 * int.sizeof))[0..5];
        ...
        free...
November 21
Issues »
...T* t;

    this(int i)
    {
        t = new T(42);
    }
}

struct T
{
    int i;
}
---

fails to...
November 21
Issues »
...considered @safe - e.g.

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

whereas it would...
November 20
Genel »
...Short
{
  short s;

  auto opBinary(string op: "*")(int rhs)
  {
    auto result = s * rhs;
    return Short...
November 20
Issues »
...AliasSeq(Args...) = Args;

struct S
{
    int n;
    ref const(AliasSeq!(int)[i]) get(size_t...
November 20
Learn »
...0x0000000103d4e8f7 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/ldc/bin/ldc2+0x1038098f7)
 #1 0x0000000103d4c976 llvm...
November 20
DIP Ideas »
...alias F = float;
@F int i;
```

but not

```d
@float int i;
```

which proposal #2...
November 20
Learn »
...Windows)
{
    enum __c_long  : int;
    enum __c_ulong : uint;

    alias int   c_long;
    alias uint...
November 19
Issues »
...struct Bar {
        align(1):
    const char* name;
    int b = 2;
}

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

@section(".traces.metadata") @assumeUsed
static...
1 2 3 4 5 6 7 8 9 10 11
Next ›   Last »