Skip to content

Fix for https://github.com/jcbhmr/platformdirs-cpp/issues/1.#2

Open
TrophyNinjaShrub wants to merge 1 commit intojcbhmr:mainfrom
TrophyNinjaShrub:jbt/constexpr-copies
Open

Fix for https://github.com/jcbhmr/platformdirs-cpp/issues/1.#2
TrophyNinjaShrub wants to merge 1 commit intojcbhmr:mainfrom
TrophyNinjaShrub:jbt/constexpr-copies

Conversation

@TrophyNinjaShrub
Copy link
Copy Markdown

Simply removing the ampersand turns those variables into copies of the original data rather than references to it. The compiler then allows them to be implicitly inline due to 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.

1 participant