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

Add posibility to set standard for optional manually #20

Closed
Yanpas opened this issue Aug 1, 2018 · 3 comments
Closed

Add posibility to set standard for optional manually #20

Yanpas opened this issue Aug 1, 2018 · 3 comments

Comments

@Yanpas
Copy link

Yanpas commented Aug 1, 2018

I have a C++ project which uses c++11 standard and g++ 4.7 compiler. However I see a lot of errors in optional if I use c++11.

@martinmoene
Copy link
Owner

It's something I already planned to do, albeit "not tomorrow".

@martinmoene
Copy link
Owner

@Yanpas, I've added macro optional_CPLUSPLUS to override the C++ standard auto-detection.

@Yanpas
Copy link
Author

Yanpas commented Aug 2, 2018

Thank you!

@Yanpas Yanpas closed this as completed Aug 2, 2018
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

2 participants