Test if a type has generics?
In tor-rpcbase
, we want to provide different implementations of a method depending on whether the type is generic.
But there doesn't seem to be a great way to write an attribute testing for that. Right now I'm using ${if approx_equal({$tgens}, {}) ...
, but I have no idea if that's 100% right.