[fusion] adapt std::tuple to be a fusion sequence?

Hello, Is it possible to adapt std::tuple to be a fusion sequence? I'm thinking it may be possible to do it for a specific number of elements using BOOST_FUSION_ADAPT_TPL_ADT, but I haven't tried. Is there some functionality like this already in fusion? Thanks, Nate.

Hi,
Is it possible to adapt std::tuple to be a fusion sequence?
...
Is there some functionality like this already in fusion?
There seems to be already the implementation. https://svn.boost.org/svn/boost/sandbox/SOC/2009/fusion/ But, I don't know this implementation status. Thanks.
======================== Akira Takahashi mailto:faithandbrave@gmail.com blog: http://d.hatena.ne.jp/faith_and_brave/

On 19.07.2011 08:59, Akira Takahashi wrote:
Hi,
Is it possible to adapt std::tuple to be a fusion sequence?
...
Is there some functionality like this already in fusion?
There seems to be already the implementation.
https://svn.boost.org/svn/boost/sandbox/SOC/2009/fusion/
But, I don't know this implementation status.
I also have one in my private tree. Sebastian

On 7/19/2011 4:56 PM, Sebastian Redl wrote:
On 19.07.2011 08:59, Akira Takahashi wrote:
Hi,
Is it possible to adapt std::tuple to be a fusion sequence?
...
Is there some functionality like this already in fusion?
There seems to be already the implementation.
https://svn.boost.org/svn/boost/sandbox/SOC/2009/fusion/
But, I don't know this implementation status.
I also have one in my private tree.
With docs? Well, patches welcome. Regards, -- Joel de Guzman http://www.boostpro.com http://boost-spirit.com

On 19.07.2011 13:21, Joel de Guzman wrote:
On 7/19/2011 4:56 PM, Sebastian Redl wrote:
On 19.07.2011 08:59, Akira Takahashi wrote:
Hi,
Is it possible to adapt std::tuple to be a fusion sequence?
I also have one in my private tree. With docs? Well, patches welcome.
No docs. Also, this is just for the MSVC 10 (no-variadics) implementation. It was just something I hacked up quickly because I needed it for something internal. Anyway, here it is. Sebastian
participants (4)
-
Akira Takahashi
-
Joel de Guzman
-
Nathan Ridge
-
Sebastian Redl