Trait for "can be instantiated"?
Ali Çehreli
acehreli at yahoo.com
Tue May 10 04:30:28 UTC 2022
On 5/9/22 20:52, Ben Jones wrote:
> Using is(T) instead of isType!T also appears to be true for the
> un-instantiate-able enum. Was your point just that I could replace
> isType!T with is(T)?
I just found something that looked like a workaround. I don't know
whether it is by design or by accident or whether this exercise exposes
a compiler or language bug. Sorry... :)
Ali
More information about the Digitalmars-d-learn
mailing list