Perfect forwarding

Mathias LANG geod24 at gmail.com
Sun Jul 26 10:51:44 UTC 2020


On Sunday, 26 July 2020 at 03:59:00 UTC, Adam D. Ruppe wrote:
> Oops, I forgot about default arguments and specializations.
>
> Default arguments are relatively straightforward, can do it at 
> least as hacky as the runtime function variety.

How do you forward this:
```
class Foo
{
     void set (time_t value = time()) {}
}
```


More information about the Digitalmars-d mailing list