Limiting template functions to template instantiations of a struct

Timon Gehr timon.gehr at gmx.ch
Thu Nov 7 10:01:46 PST 2013


On 11/07/2013 12:07 AM, H. S. Teoh wrote:
> 	// This is possibly the single nastiest bit of syntax in all of D:
> 	static if (is(func X == __parameters)) {
> 		// Quick, without looking at the docs: what does X refer
> 		// to?

Nothing.


More information about the Digitalmars-d-learn mailing list