May 12 DIP Ideas » Re: Deprecate implicit conversion between signed and unsigned integers | |||
|---|---|---|---|
| |||
...g.:
extern ubyte x;
short y = x; // OK, short.max >= ubyte.max
byte z = x... | |||
May 12 DIP Ideas » Deprecate implicit conversion between signed and unsigned integers | |||
|---|---|---|---|
| |||
...byte a = -1;
enum uint b = a; // Ok, but...
enum byte c = b; // Error - original... | |||
May 04 Internals » Rename CppRuntime_* versions to actual cpp libraries | |||
|---|---|---|---|
| |||
...cxxCompatFlags = " -L-lc++ -L--no-demangle"; ``` Ah, ok, so `CppRuntime_Clang` stands for libc++. Please... | |||
May 03 DIP Development » Re: Second Draft: ref for Variable Declarations | |||
|---|---|---|---|
| |||
Ok. You're right, but what is the point? Aren't they rather obvious? After... | |||
May 01 General » Re: Is public by default an unsafe default? | |||
|---|---|---|---|
| |||
...could do that. module m; @safe: private: // ok. now I have a much better starting... | |||
April 30 DIP Ideas » Detached unit tests | |||
|---|---|---|---|
| |||
...unittest {
auto s = S(42);
s.foo(); // ok, this is not a detached unittest
}
static... | |||
April 30 Issues » [Issue 24529] New: is expression ignores implicit conversion of enum when pattern matching | |||
|---|---|---|---|
| |||
...int() } static assert(is(E : S!int)); // ok static assert(is(E : S!T, T... | |||
April 29 DIP Development » Re: second draft: add Bitfields to D | |||
|---|---|---|---|
| |||
...a pretty face on it, I'm ok with an underlying ugliness in the service... | |||
Copyright © 1999-2021 by the D Language Foundation