On Sunday, 18 October 2015 at 21:18:52 UTC, rcorre wrote:
That's just the kind of thing I was looking for! I actually started with a 'visitor' function that works similar to project:


https://github.com/rcorre/superstruct/blob/master/src/superstruct.d#L153-L166

then decided to wrap the whole thing in a struct to expose the members more 'naturally'.

I think having something like project in phobos would be pretty useful though.

Yeah, I'm planning on making a PR once I add in support for functions et al.

Reply via email to