Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2021-03-02 15:34:18


Andrzej Krzemienski wrote:
> wt., 2 mar 2021 o 15:05 Edward Diener via Boost <boost_at_[hidden]>
> napisał(a):
>
> > Boost.Fusion/Boost.Spirit are C++03 libraries while Describe is a
> > C++14 library. So while Describe might be capable of replacing the
> > BOOST_FUSION_ADAPT_STRUCT interface in Boost.Fusion I would imagine
> > that Boost.Fusion/Boost.Spirit might have to upgrade their minimum C++
> > level to C++14 in order to do so.
> >
>
> Sorry, I wasn't clear. BoostSpirit comes with the x3 variant which already
> requires c++14:
> https://www.boost.org/doc/libs/1_75_0/libs/spirit/doc/x3/html/index.html
> I meant this one only.

That's true, but Spirit relies on Fusion for the support of user-defined structs,
so the straightforward way to make it work on described types is to make
Fusion recognize them.

That's ifdefable and should be doable, but I don't have a proof at this time. :-)


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk