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

Allow the use of std::optional in C++2017 #63

Open
SeanFarrow opened this issue Mar 29, 2019 · 3 comments
Open

Allow the use of std::optional in C++2017 #63

SeanFarrow opened this issue Mar 29, 2019 · 3 comments

Comments

@SeanFarrow
Copy link

It would be good if std::optional were used in projects that use C++2017.

A define like that which is available in boost.dll 1.70 would suffice in my opinion.

@jeking3
Copy link
Contributor

jeking3 commented Apr 19, 2019

Could you be more specific, perhaps provide an example use?

@SeanFarrow
Copy link
Author

SeanFarrow commented Apr 19, 2019 via email

@AraHaan
Copy link

AraHaan commented Sep 8, 2020

Isn't there an language macro that is defined the the compiler supports the standard optional instead of the boost one that can be checked against like there is with CXX_LIB_FILESYSTEM/CXX_LIB_EXPERIMENTAL_FILESYSTEM or something along those lines that can be used with boost?

(unrelated but I want to also figure out things I can use in place of format and wformat used in this lib so that way a program of mine could be made a bit more optimized.)

(hmm so is

typedef lagged_fibonacci_01_engine<double, 48, 607, 273> lagged_fibonacci607;

the same as this?

std::subtract_with_carry_engine<double, 48, 607, 273>

)

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