Skip to content

Add backport of std::expected instead of Result.hpp #91

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

Open
synacker opened this issue May 24, 2025 · 0 comments
Open

Add backport of std::expected instead of Result.hpp #91

synacker opened this issue May 24, 2025 · 0 comments

Comments

@synacker
Copy link
Owner

Is your feature request related to a problem? Please describe.
Result.hpp is developer defined code for std::expected functionality. std::expected inroduced in C++23, but project standard is C++17.

Describe the solution you'd like
Replace Result.hpp by std::expected backport to C++17.

Describe alternatives you've considered
https://github.com/zeus-cpp/expected - good solution for C++17

Additional context
Need to be sure, that file can be placed in project like mustache.hpp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant