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

Use #pragma once #5

Closed
skynowa opened this issue Feb 4, 2016 · 2 comments
Closed

Use #pragma once #5

skynowa opened this issue Feb 4, 2016 · 2 comments

Comments

@skynowa
Copy link

skynowa commented Feb 4, 2016

No description provided.

@ildar-gilmanov
Copy link
Contributor

I think, Include guard
#ifdef MY_HEADER_H
#define MY_HEADER_H

#endif // MY_HEADER_H

is more portable and stable then #pragma once, and #pragma once is not in standard.

@nextgeniuspro
Copy link
Owner

I agree with gilmanov-ildar that include guard is better solution

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

3 participants