On 02/26/14 05:54, MM wrote:
On 25 February 2014 18:39, Matt Calabrese
mailto:rivorus@gmail.com> wrote: 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
Strange place to find the code! Some version of code is also still in svn: http://svn.boost.org/svn/boost/sandbox/switch/boost/control/switch.hpp Based only on the Copyright comments in the two version, I'd guess the one in svn is newer. I searched github for the code, but had no luck.
MM
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users