|
Boost Users : |
Subject: Re: [Boost-users] [fusion] nth runtime element of a sequence
From: Larry Evans (cppljevans_at_[hidden])
Date: 2014-02-26 10:20:59
On 02/26/14 05:54, MM wrote:
> On 25 February 2014 18:39, Matt Calabrese <rivorus_at_[hidden]
> <mailto:rivorus_at_[hidden]>> 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_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net