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. :(
Hello,I just wanted to confirm there's no provided method to get the n'th element of say a fusion vector where n is known at runtime, except of handling it explicitkly with a switch case?ThanksMM
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users