Equivalent of C++ #__VA_ARGS__

Ronoroa aravind.nujella at gmail.com
Sun Aug 2 15:30:27 UTC 2020


How do I achieve equivalent semantics of following C++ code?

```
#define dbg(...) std::cout << __LINE__ << #__VA_ARGS__ << " = " 
<< print_func(__VA_ARGS__) << std::endl;
```




More information about the Digitalmars-d-learn mailing list