Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Avoid use of inline variables in C++14 #478

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

miscco
Copy link
Collaborator

@miscco miscco commented Jun 2, 2023

While we provide variable templates already in C++14 we should not use them internally as those might have unexpected behavior wrt binary size as there is no guarantee that the compiler is not creating a duplicated variable whenever it finds it

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants