13 hours ago Issues » [Issue 24308] [ImportC] druntime\import\importc.h(134): fatal error C1034: sal.h: no include path set | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=24308 --- Comment #5 from dlangBugzillaToGithub <robert.schadek... | |||
1 day ago Learn » Generate documentation from ddoc | |||
|---|---|---|---|
| |||
...that import is also part of the 'dub' build process: ``` import mikes_lib; import std... | |||
1 day ago General » Re: Something like ADL from C++? | |||
|---|---|---|---|
| |||
...intervention, the whole purpose of it):
```d
import std;
class SerializationRoot {
static void function()[TypeInfo... | |||
1 day ago General » Re: Something like ADL from C++? | |||
|---|---|---|---|
| |||
```d
import std;
interface ISerialize {
void serialize();
}
struct thing{ }
class SerializableRoot {
void serialize(this T... | |||
2 days ago Issues » [Issue 24891] New: Two scope attributes emitted as part of .di generation | |||
|---|---|---|---|
| |||
...other) @trusted scope {
}
}
```
Results in:
```d
// D import file generated from 'str.d'
module str... | |||
3 days ago General » Re: Something like ADL from C++? | |||
|---|---|---|---|
| |||
...problem is essentially that a more-local import or singular declaration shadows an entire overload... | |||
3 days ago DIP Ideas » Re: Struct inheritance | |||
|---|---|---|---|
| |||
...bit iffy, try this one instead)
```D
import std.stdio;
void main() {
Parent parent = new... | |||
3 days ago DIP Ideas » Re: Struct inheritance | |||
|---|---|---|---|
| |||
...this, assuming it is even compiles:
```d
import std.stdio;
void main() {
Child child = new... | |||
3 days ago Learn » Re: Partial application on Nth argument | |||
|---|---|---|---|
| |||
...but I think this is trivail ```d import std; template partialN(alias F,int arg... | |||
4 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