September 18, 2020 General » Re: give static assert the pragma(msg,...) changes | |||
|---|---|---|---|
| |||
On Fri, Sep 18, 2020 at 10:15 AM Nicholas Wilson via Digitalmars-d < digitalmars... | |||
September 18, 2020 General » give static assert the pragma(msg,...) changes | |||
|---|---|---|---|
| |||
...assert, which deals with compile time messages, doesn't function the same way as pragma... | |||
September 14, 2020 Issues » [Issue 19091] __traits(compiles) and error in templated structs leads to missing symbol | |||
|---|---|---|---|
| |||
...U) {
pragma(msg, "Template.opEquals!(" ~ U.stringof ~ ", " ~ TA.stringof ~
")");
foo();
}
}
void foo()() {
static assert(false... | |||
September 10, 2020 Learn » Reducing .init effect of a struct that has large static array members | |||
|---|---|---|---|
| |||
...double[1000] a; } static assert (S.init.sizeof...double[1000] a = void; } pragma(msg, S.init... | |||
September 10, 2020 Issues » [Issue 21235] Undefined reference with circular opEquals between two templates, one of which has an error | |||
|---|---|---|---|
| |||
...U) {
pragma(msg, "Template.opEquals!(" ~ U.stringof ~ ", " ~ TA.stringof ~
")");
foo();
}
}
void foo()() {
static assert(false... | |||
September 10, 2020 Issues » [Issue 21235] New: Undefined reference with circular opEquals between two templates, one of which has an error | |||
|---|---|---|---|
| |||
...U, this TA)(U) {
pragma(msg, "Template.opEquals...bool opEquals()(Helper) {
static assert(false); // trigger some... | |||
September 10, 2020 Learn » Re: Access violation when using IShellFolder2 | |||
|---|---|---|---|
| |||
...std.datetime;
pragma(lib, "Ole32");
pragma(lib, "OleAut32...get desktop shell folder");
assert(desktop);
scope(exit... | |||
September 09, 2020 Learn » Re: How to use labeled break in static foreach? | |||
|---|---|---|---|
| |||
...static if (field == 3) {
pragma(msg, "Got a...A.length - 1) {
static assert(0, "Got no... | |||
September 08, 2020 Learn » Access violation when using IShellFolder2 | |||
|---|---|---|---|
| |||
...wtypes;
import std.exception;
pragma(lib, "Ole32");
void...get desktop shell folder");
assert(desktop);
scope(exit... | |||
September 08, 2020 Genel » Tür Nitelikleri ve Çöp Değer | |||
|---|---|---|---|
| |||
...main() {
// Derleme zamanında yazalım
pragma(msg, A.init...auto a = A(Init());
assert(a.a[42... | |||
Copyright © 1999-2021 by the D Language Foundation