26 Feb
2014
26 Feb
'14
11:54 a.m.
On 25 February 2014 18:39, Matt Calabrese
Steven Watanabe proposed Boost.Switch years ago and I believe it was accepted but never added. It would work fine here to do what you want and has more general use than just fusion (and gives more information than a variant result would). I bring this up every time a question like this comes up but it would be nice for his library to be revived and added. :(
I found the header file here, I suppose that's all that's needed. http://dancinghacker.com/switch/switch.hpp MM