[spirit] unable to use BOOST_FUSION_ADAPT_ADT adapted structs

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[spirit] unable to use BOOST_FUSION_ADAPT_ADT adapted structs

Tobias Loew
The code line in boost\spirit\home\qi\detail\assign_to.hpp (152)  [BOOST_VERSION 105800]

        template <typename T_>
        static void
        call(T_ const& val, Attribute& attr, mpl::false_)
        {
            attr = static_cast<Attribute>(val);                    <<<<<<<<<<<<<<<<<<<< here
        }

makes it impossible to use BOOST_FUSION_ADAPT_ADT adapted structs.
There are missing template specializations for boost::fusion::extension::adt_attribute_proxy attributes.

Tobias
Reply | Threaded
Open this post in threaded view
|

Re: [spirit] unable to use BOOST_FUSION_ADAPT_ADT adapted structs

Tobias Loew
This post was updated on .
I've created a pull-request and it's merged in spirit/develop.
https://github.com/boostorg/spirit/pull/153
Reply | Threaded
Open this post in threaded view
|

Re: [spirit] unable to use BOOST_FUSION_ADAPT_ADT adapted structs

sehe
On Mon, Aug 31, 2015, at 10:47 AM, Tobias Loew wrote:
> I've created a pull-request to solve the issue.
>

You wouldn't happen to have a link :)

------------------------------------------------------------------------------
_______________________________________________
Spirit-general mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/spirit-general
Reply | Threaded
Open this post in threaded view
|

Re: [spirit] unable to use BOOST_FUSION_ADAPT_ADT adapted structs

Tobias Loew
It was just merged by Joel. the link is https://github.com/boostorg/spirit/pull/153 and it's on develop branch.