Eponymous template with static if

Paul Backus snarwin at gmail.com
Tue Aug 15 11:00:34 UTC 2023


On Tuesday, 15 August 2023 at 10:25:56 UTC, sighoya wrote:
> Can you tell what `is(T)` is doing here?
> From the docs it seems to require `T` to be existing.
> However, I don't know what this exactly means, as T anyway have 
> to exist.

It doesn't do anything. It's only there because I copied it from 
Michael Galuza's post (where it also doesn't do anything): 
https://forum.dlang.org/post/qglavaqzfzzxjcrfufpw@forum.dlang.org


More information about the Digitalmars-d mailing list