On Sunday, 18 October 2015 at 21:26:55 UTC, rcorre wrote:

And at the risk of going a little overboard, I think the answer to supporting arbitrary templated functions is to wrap visitor/project itself in a template, that then returns a variadic function while passing along other compile-time args. Maybe. I haven't thought it through too carefully...

Proof of concept for passing through compile-time args:

https://github.com/rcorre/superstruct/commit/27b99fae5eb1242ffcde31a7546771f35f8221f1

If at first you don't succeed, wrap everything in a template!

Reply via email to