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

加个保护 #2698

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

加个保护 #2698

wants to merge 1 commit into from

Conversation

yybbwc
Copy link
Contributor

@yybbwc yybbwc commented Feb 23, 2025

No description provided.

@salix5
Copy link
Collaborator

salix5 commented Feb 23, 2025

#2700
謝謝你的提醒
如果可能的話
通常還是優先考慮符合標準的guard macro

@yybbwc
Copy link
Contributor Author

yybbwc commented Feb 23, 2025

#2700
謝謝你的提醒
如果可能的話
通常還是優先考慮符合標準的guard macro

优先用​#​pragma​ once。
因为fast_io库是这么用的。

@yybbwc
Copy link
Contributor Author

yybbwc commented Feb 23, 2025

至于原因,我不知道。我得去问一下。

@yybbwc
Copy link
Contributor Author

yybbwc commented Feb 23, 2025

#2700
謝謝你的提醒
如果可能的話
通常還是優先考慮符合標準的guard macro

https://github.com/cppfastio/fast_io/blob/next/support.md

fast_io支持这么多平台,也是优先用​#​pragma​ once

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