Boost logo

Boost Users :

Subject: Re: [Boost-users] iterator over boost::tuple
From: Oswin Krause (Oswin.Krause_at_[hidden])
Date: 2015-07-06 02:47:02


Some boost fusion sequence magic.

also a working, useful example to showcase an actual application would
be helpful(for example you are not even returning a value)

On 2015-07-06 08:23, Uthpal Urubail wrote:
> Experts,
> What is the best way to iterator over boost::tuple and return value?
> Example:
> For(int i=0;i<boost::tuples::length<T>::value;i++)
> {
> Boost_tuple_example.get<i>();
> }
> Regards,
> UJ
> _______________________________________________
> 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