On 11/11/11 6:20 PM, Timon Gehr wrote:
This is a sketch of how I would approach your problem. The "Curry" template automatically creates the nested template version from an unnested one. You are then allowed to use both IsEqual!(val) and IsEqual!(val1, val2). […]
See also: https://gist.github.com/1191885#L27Reminds me that I really have to put together a std.meta proposal – if I would only find time to do so…
David