Opened 9 years ago
Closed 8 years ago
#9813 closed Feature Requests (fixed)
[boost] [fusion] constexpr support
Reported by: | Owned by: | Joel de Guzman | |
---|---|---|---|
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).
Change History (3)
comment:1 by , 9 years ago
comment:2 by , 8 years ago
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 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
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.