In LLVMweekly [1], I read the following:
"You may be be interested, amazed, and/or horrified to learn of
constexpr-8cc [2]. It provides a compile-time C compiler
implemented as C++14 constant expressions."
The constexpr compiler is generated using ELVM [3], a C compiler
that targets a bunch
On 21/11/2016 11:25 PM, Satoshi wrote:
Hello,
how can calling method on local struct throw "null this"?
struct is initialized by .init and have default values.
struct Foo {
Bar bar;
static struct Bar {
float x, y, z;
}
Bar getBar() {
return bar;
}
}
then
Foo foo =
cast(ulong) but is not null.
It won't work just in special cases what I cannot reproduce
easily.
Hello,
how can calling method on local struct throw "null this"?
struct is initialized by .init and have default values.
struct Foo {
Bar bar;
static struct Bar {
float x, y, z;
}
Bar getBar() {
return bar;
}
}
then
Foo foo = Foo.init;
auto b = foo.getBar(); // throw "null
https://issues.dlang.org/show_bug.cgi?id=16116
--- Comment #1 from Walter Bright ---
Simpler test case:
void foo() {
__vector(short[8]) v;
int i;
v = v * i;
}
--
https://issues.dlang.org/show_bug.cgi?id=16707
Issue ID: 16707
Summary: [Templates] run variadic templates example failed
Product: D
Version: D2
Hardware: All
URL: http://dlang.org/
OS: All
Status: NEW
https://issues.dlang.org/show_bug.cgi?id=16098
Walter Bright changed:
What|Removed |Added
CC|
https://issues.dlang.org/show_bug.cgi?id=16092
Walter Bright changed:
What|Removed |Added
CC|
On Monday, November 21, 2016 08:57:11 Bauss via Digitalmars-d-learn wrote:
> Is there a way to identify the Windows version? Such as if it's
> XP, Vista, 7, 8 or 10? Either some way to tweak with version
> flags or something in the standard library.
Phobos doesn't have anything like that, but you
Is there a way to identify the Windows version? Such as if it's
XP, Vista, 7, 8 or 10? Either some way to tweak with version
flags or something in the standard library.
101 - 110 of 110 matches
Mail list logo