1 day ago DIP Ideas » Re: Struct inheritance | |||
|---|---|---|---|
| |||
...auto foo = new Foo;
A a = foo;
static assert(is(Foo : A));
}
class A {}
class... | |||
1 day ago Learn » Re: Partial application on Nth argument | |||
|---|---|---|---|
| |||
...N, fixedArgs...)
{
static auto bindArgument(A...)(A argsRest)
if(N <= argsRest.length)
{
static if (N... | |||
2 days ago Announce » D Language Foundation June Monthly Meeting Summary | |||
|---|---|---|---|
| |||
...needed to know about TLS things, the static data segments of each binary. He said... | |||
2 days ago Learn » Re: Partial application on Nth argument | |||
|---|---|---|---|
| |||
...int idx, args...)
{
enum error = "Missing argument!";
static assert(idx < args.length, error);
auto partialN... | |||
3 days ago Issues » [Issue 19348] Struct casts should be better documented. | |||
|---|---|---|---|
| |||
...better documented Document fallback casting from struct/static array to struct. Add example. Also add... | |||
3 days ago Issues » [Issue 19348] Struct casts should be better documented. | |||
|---|---|---|---|
| |||
...better documented Document fallback casting from struct/static array to struct. Add example. Also add... | |||
3 days ago Issues » [Issue 19348] Struct casts should be better documented. | |||
|---|---|---|---|
| |||
...first, then for casting from struct or static array, it falls back to reinterpret casts... | |||
3 days ago General » Re: Something like ADL from C++? | |||
|---|---|---|---|
| |||
...o, string s){}
struct MyDto
{
struct SerializerAspect
{
static void serialize(byte[] o, MyDto s){}
}
}
void... | |||
3 days ago Issues » [Issue 23722] Lambdas are mangled incorrectly when using multiple compilation units, resulting in incorrect code | |||
|---|---|---|---|
| |||
...https://github.com/dlang/dmd/pull/17102 (static foreach will still get a counter, but... | |||
3 days ago General » Re: Something like ADL from C++? | |||
|---|---|---|---|
| |||
...import default_serialise;
void main(){
import std;
static struct Dummy{
import default_serialise: serialise;
import... | |||
Copyright © 1999-2021 by the D Language Foundation