July 17, 2019 General » Re: [GSoC] 'Replace Runtime Hooks with Templates' progress and update thread | |||
|---|---|---|---|
| |||
...Learned that I need `pragma(inline, false);` for...solved this by `if (...) assert(0);`, with a... | |||
July 15, 2019 Announce » bolts meta programming library version 1.0.0 - including the from idiom | |||
|---|---|---|---|
| |||
...pragma(msg, member!(S, "f0").exists); // true
pragma...static assert(d.length == 3);
static assert(d... | |||
June 26, 2019 Issues » [Issue 20008] New: __traits(allMembers) of packages is complete nonsense | |||
|---|---|---|---|
| |||
...static assert(anySatisfy!(isSame!main, allMembers!module_));
static assert(anySatisfy!(isSame!std, allMembers!module_));
pragma... | |||
June 23, 2019 Issues » [Issue 19999] New: compile time logic (pragma, static if) in sub eponymous templates are ignored | |||
|---|---|---|---|
| |||
...Summary: compile time logic (pragma, static if) in...2).fun1!(3, 4);
assert(s1.args.length... | |||
June 14, 2019 General » Re: Struggling to implement parallel foreach... | |||
|---|---|---|---|
| |||
...transitive, so therefore the pragma should print `shared...can implement machinery to assert a valid calling... | |||
June 11, 2019 Learn » Variadic template parameters, refactor a long chain of static if's to 'functions'. | |||
|---|---|---|---|
| |||
...bool same(T1, T2)(){
pragma(msg, "same? "~T1...onBool = a;
else static assert(false, "Unsupported type... | |||
June 04, 2019 Issues » [Issue 19812] Lambda over struct member causes dangling reference to out-of-scope struct | |||
|---|---|---|---|
| |||
...5);
function()
{
// clean stack
pragma(inline, false);
long[0x500] a = 0;
}();
assert(i.get() == 5... | |||
May 29, 2019 General » Re: Best interface for memcpy() (and the string.h family of functions) | |||
|---|---|---|---|
| |||
...in { assert(dst.length >= src.length, "copyFrom source length larger than destination"); } do
{
pragma(inline... | |||
May 26, 2019 LDC » Re: Using SSE3 vector shuffel with LDC | |||
|---|---|---|---|
| |||
...byte[16]);
version (Manual)
{
pragma(inline, true)
byte16...expected = b;
expected[0] = 0;
assert(actual == expected);
} | |||
May 23, 2019 General » Re: printf() metaprogramming challenge | |||
|---|---|---|---|
| |||
...to!string ~ "]";
}
}
return printfCall ~ ")";
}();
//pragma(msg, call); // uncomment...r ~= "%%";
i += 2;
continue;
}
assert(ai < A.length... | |||
Copyright © 1999-2021 by the D Language Foundation