Modify

Ticket #9813 (closed Feature Requests: fixed)

Opened 3 years ago

Last modified 2 years ago

[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:

Description

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

Change History

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": github.com/boostorg/fusion/pull/6

comment:3 Changed 2 years ago by djowel

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

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


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

 
Note: See TracTickets for help on using tickets.