Does exists some way to define a implementation for a symbol?

Hipreme msnmancini at hotmail.com
Tue Nov 14 13:43:03 UTC 2023


Right now, I've been implementing classes separately, and I need 
a dummy symbol. The best world is not even having a symbol but 
having only its implementation, for example, I would like being 
able to do that:

```d
void pragma(mangle, "test")(int a){
     writeln(a);
}
```

Is it possible somehow to do that?


More information about the Digitalmars-d-learn mailing list