Closed jcelerier closed 8 years ago
@jcelerier You can do it easily by yourself. Here is an example https://github.com/tomilov/variant/blob/master/include/versatile/visit.hpp#L165 of multivisit function.
Is there a way to make multi-visitation with apply() & multiple variant types ?
Yes, exactly as you have written it. Have you run into any issues while trying that snippet?
You can do it easily by yourself.
@tomilov Why would he want to do it by himself when the library has provided it since day one? What am I missing here?
@K-ballo I'm sorry. Moreover I even knew it, but I hastened to write this irrelevant answer. My mistake.
damn, yes, this simple example works, but more complex ones don't. I'll try to make a simple reproducible example (if this is not some stupid mistake from my part :) ). Sorry for the noise !
Hello,
Is there a way to make multi-visitation with apply() & multiple variant types ?
e.g.
thanks !