November 10 DIP Development » Re: __rvalue and Move Semantics first draft | |||
|---|---|---|---|
| |||
...value isn't here anymore. ```d int* a, b; int* c = a, d = b; swap... | |||
November 09 Issues » [Issue 24850] New: Named enum construction from base type is inconsistent | |||
|---|---|---|---|
| |||
...The following is an error: ``` enum E : int; E e = E(4); ``` enumbase.d(2... | |||
November 08 Learn » Avoid subtracting form .length | |||
|---|---|---|---|
| |||
...pattern:
```
fun(ref int[] a)
{
assert(a.length && a.length<=100);
int[100] b;
b... | |||
November 08 Issues » [Issue 24229] Parser accepts fundamental types as primary expressions without dot identifier | |||
|---|---|---|---|
| |||
...things like this work: alias T = int; pragma(msg, int[T]); Before dmd 2.102... | |||
November 06 Issues » [Issue 24845] New: Compiler error when trying to access AA value of an enum instance | |||
|---|---|---|---|
| |||
...the master (commit ccd589dd6c):
```d
enum Maps : int[string] { Some = ["aa" : 12], Other = ["bb" : 24... | |||
November 06 Learn » Re: Negating a short? | |||
|---|---|---|---|
| |||
...Short
{
short s;
auto opBinary(string op: "*")(int rhs)
{
auto result = s * rhs;
return Short... | |||
November 06 Learn » Re: Negating a short? | |||
|---|---|---|---|
| |||
...Short
{
short s;
auto opBinary(string op: "*")(int rhs)
{
auto result = s * rhs;
return Short... | |||
November 06 Learn » Re: Negating a short? | |||
|---|---|---|---|
| |||
...Short
{
short s;
auto opBinary(string op: "*")(int rhs)
{
auto result = s * rhs;
return Short... | |||
November 06 Learn » Re: Negating a short? | |||
|---|---|---|---|
| |||
...Error: cannot implicitly convert expression `cast(int)i * -1` of type `int` to `short` } Matheus. | |||
November 06 Learn » Re: Negating a short? | |||
|---|---|---|---|
| |||
...is a long, an int--int. But short and byte -> int. All of them have... | |||
Copyright © 1999-2021 by the D Language Foundation