Opened 4 years ago

Closed 3 years ago

#9813 closed Feature Requests (fixed)

[boost] [fusion] constexpr support

Reported by: gonzalobg88@… Owned by: Joel de Guzman
Milestone: To Be Determined Component: fusion
Version: Boost 1.55.0 Severity: Problem
Keywords: constexpr Cc:


Boost.MPL and Boost.Fusion are very useful inside C++14 relaxed constexpr functions. However, this doesn't work out of the box since constexpr functions can only call other constexpr functions.

I have started to mark fusion and mpl functions and types as constexpr within my local Boost copy. This task is pretty big so I am only doing it for the parts of the library that I need to use within constexpr functions.

It would be nice to know what is the best way to proceed (e.g. incremental patches until full support is achieved vs a single patch that enables constexpr support).

Attachments (0)

Change History (3)

comment:1 Changed 4 years ago by Joel de Guzman

That's wonderful! Thank you!

I think the best way to proceed is to send in incremental GIT pull requests. That way, I can have more time to inspect the code.

comment:2 Changed 3 years ago by gonzalobg88@…

I've sent the first pull-request, is it fine to discuss the changes there?

I leave a link here for the "people from the future":

comment:3 Changed 3 years ago by Joel de Guzman

Resolution: fixed
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Joel de Guzman.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.