Skip to content

Conversation

@daminetreg
Copy link
Contributor

Remove BOOST_CONSTEXPR on BOOST_FUSION_DEFINE_STRUCT constructors as it however adds the requirement that the user provided types are constant enabled.

Relates to https://svn.boost.org/trac/boost/ticket/11211

…t however adds the requirement that the user provided types are constant enabled.
djowel added a commit that referenced this pull request Apr 21, 2015
Remove BOOST_CONSTEXPR on BOOST_FUSION_DEFINE_STRUCT
@djowel djowel merged commit 294a5ce into boostorg:master Apr 21, 2015
@Flast
Copy link
Collaborator

Flast commented Apr 21, 2015

Thanks @daminetreg !

I didn't check other variations but is this enough?

@daminetreg
Copy link
Contributor Author

Compiled for me with the example of the list. Perhaps we have more work somewhere.

@daminetreg
Copy link
Contributor Author

But I couldn't find it out.

@daminetreg
Copy link
Contributor Author

@Flast I've let constexpr for empty struct, do you also think it's ok ? On line 290 https://github.com/boostorg/fusion/blob/master/include/boost/fusion/adapted/struct/detail/define_struct.hpp#L290

I think BOOST_FUSION_DEFINE_STRUCT_INLINE could also have problems.

@Flast
Copy link
Collaborator

Flast commented Apr 21, 2015

I've let constexpr for empty struct, do you also think it's ok ?

It seems good.

I think BOOST_FUSION_DEFINE_STRUCT_INLINE could also have problems.

Sorry, I'm moving now and I can't ensure duration for investigating...

@daminetreg daminetreg deleted the feature/fix-for-11211 branch April 26, 2015 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants