Boost logo

Boost Users :

Subject: Re: [Boost-users] [fusion] making an inner struct boost fusion compatible?
From: Nathan Ridge (zeratul976_at_[hidden])
Date: 2012-09-21 03:52:18


> thanks for the reply.
> Is it possible to just copy and rename the macro, or does it depend on
> newer features of fusion? I need to be compatible with boost 1.45 so i
> can't use it directly (also i need to add a few more functions to the
> structure later on)

BOOST_FUSION_DEFINE_STRUCT_INLINE is implemented using the sequence_facade
and iterator_facade extension mechanisms, which were present in Boost 1.45
[1] [2]. So, it should be straightforward to back-port the macro to 1.45.

Regards,
Nate

[1] http://www.boost.org/doc/libs/1_45_0/libs/fusion/doc/html/fusion/extension/sequence_facade.html
[2] http://www.boost.org/doc/libs/1_45_0/libs/fusion/doc/html/fusion/extension/iterator_facade.html
                                               


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