Skip to content

[review][feature] Add C++26 constexpr formatting support #428

Description

@mborland

C++26 works in constexpr now
https://eel.is/c++draft/format#def:constexpr-enabled
Added with [P3391] I think.

SInce your types are already very constexpr-enabled,
IMO would be good to also add constexpr formatting.

Currently not working: https://godbolt.org/z/oac5fcara
I am assuming it's easy, like just missing constexpr on formatter::format(),
since adding -fimplicit-constexpr makes it work: https://godbolt.org/z/fhYPKWqGT

Also check {fmt} since they probably have it too

Metadata

Metadata

Assignees

Labels

Boost ReviewFeedback from the review period including pre- and post- on the MLenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions