Skip to content

Add 2 more constexprs to fix compile error#4065

Merged
vitaut merged 2 commits intofmtlib:masterfrom
torshepherd:tor/add-constexpr
Jul 13, 2024
Merged

Add 2 more constexprs to fix compile error#4065
vitaut merged 2 commits intofmtlib:masterfrom
torshepherd:tor/add-constexpr

Conversation

@torshepherd
Copy link
Copy Markdown
Contributor

Example code where this fails:

https://compiler-explorer.com/z/31d3bjxer

With my branch this code succeeds just fine (the compilation error is on purpose, this is cat implemented as a compile error:

https://compiler-explorer.com/z/EzEY6Tse9

Copy link
Copy Markdown
Contributor

@vitaut vitaut left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but please apply clang-format.

@torshepherd
Copy link
Copy Markdown
Contributor Author

done

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