Search

January 16, 2023
General »
...value;
    }

  }

  enum one= Index!int(1)();
  int[one] a = 1;

  int[Index!int(2)()] b...
January 16, 2023
Issues »
...value;
    }

  }

  enum one= Index!int(1)();
  int[one] a = 1;

  int[Index!int(2)()] b...
January 15, 2023
Issues »
...understand. Static array declaration expects an integer. 'Index' implicitly converts to an integer. Why should...
January 15, 2023
Issues »
...typeof(index2) == size_t)
  );

  // but:

  enum index = Index();
  int[index + 1] d; // automatic conversion
  d...
January 14, 2023
Issues »
...main()
{
  struct Index
  {
    size_t value;
    alias value this;
  }

  enum size_t i = Index();
  int...
January 14, 2023
Learn »
Thank you for such a quick reply! It solved my issue!
January 14, 2023
Learn »
A jpeg image is not a text file. Read it with `std.file.read()` instead...
January 14, 2023
Learn »
Please, help me solve the annoying error above. I've been refactoring and rewriting code...
January 11, 2023
Issues »
...gmail.com

struct Index
{
    uint value;
    alias value this;
}

enum i = Index();
int[i] a...
January 09, 2023
Issues »
...Template constraints article not listed in article index

https://github.com/dlang/dlang.org/pull...
29 30 31 32 33 34 35 36 37 38 39 40
Next ›   Last »