Opened 3 years ago

Closed 2 years ago

#9813 closed Feature Requests (fixed)

[boost] [fusion] constexpr support

Reported by: gonzalobg88@… Owned by: djowel
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 3 years ago by djowel

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 2 years ago by djowel

  • Resolution set to fixed
  • Status changed from new to closed

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain djowel.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.