On 12/10/13 15:35, Larry Evans wrote: [snip]
Hi Matt,
I'm trying to understand how you arrive at the static_visitor. Since the set of bounded types in the variant is a result of metaprogramming, I'm guessing that the static_visitor would also have to be the result of some metaprogramming. Otherwise I can't figure out how it could be done. I'm guessing that you use some sort of inheritance for each bounded type.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Should be:
inheritance for the operator() member function
for each bounded type.
IOW.
template
Is that right?
-regards, Larry
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost