Skip to content

Conversation

@17steen
Copy link

@17steen 17steen commented Oct 27, 2025

file.cpp:36:27: error: constexpr variable 'string_view' must be initialized by a constant expression
   36 |     constexpr static auto string_view = str.str();
      |                           ^             ~~~~~~~~~

This error goes away when annotating the member function with FMT_CONSTEXPR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants