Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[basic.start.dynamic] didn't state the situation for the initialization of the non-block thread storage duration inline variable #5307

Open
xmh0511 opened this issue Feb 20, 2022 · 0 comments

Comments

@xmh0511
Copy link
Contributor

xmh0511 commented Feb 20, 2022

[basic.start.dynamic] p5 and [basic.start.dynamic] p6 phrase the dynamic initialization of the non-block static storage duration non-inline and inline variable, respectively. However, we just state the dynamic initialization for non-block thread storage duration non-inline variable in [basic.start.dynamic] p7 while we did not phrase the situation for the dynamic initialization of the non-block inline variable with thread storage duration without using another paragraph. Does [basic.start.dynamic] omit to phrase such a situation? Or, Do we deliberate to leave the case with an underspecified situation?

inline thread_local  int v = 0;
int main(){}
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

No branches or pull requests

1 participant