Search

November 10
DIP Development »
...value isn't here anymore.

```d
int* a, b;

int* c = a, d = b;

swap...
November 09
Issues »
...The following is an error:
```
enum E : int;
E e = E(4);
```

enumbase.d(2...
November 08
Learn »
...pattern:

```
fun(ref int[] a)
{
   assert(a.length && a.length<=100);
   int[100] b;
   b...
November 08
Issues »
...things like this work:

alias T = int;
pragma(msg, int[T]);

Before dmd 2.102...
November 06
Issues »
...the master (commit ccd589dd6c):

```d
enum Maps : int[string] { Some = ["aa" : 12], Other = ["bb" : 24...
November 06
Learn »
...Short
{
  short s;

  auto opBinary(string op: "*")(int rhs)
  {
    auto result = s * rhs;
    return Short...
November 06
Learn »
...Short
{
  short s;

  auto opBinary(string op: "*")(int rhs)
  {
    auto result = s * rhs;
    return Short...
November 06
Learn »
...Short
{
  short s;

  auto opBinary(string op: "*")(int rhs)
  {
    auto result = s * rhs;
    return Short...
November 06
Learn »
...Error: cannot implicitly convert expression `cast(int)i * -1` of type `int` to `short`
}

Matheus.
November 06
Learn »
...is a long, an int--int.  But short and byte -> int.  All of them have...
3 4 5 6 7 8 9 10 11 12 13 14
Next ›   Last »