-
-
Notifications
You must be signed in to change notification settings - Fork 411
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
Feature request: addition of etl::expected #615
Comments
Thanks, I'll take a look at that |
…ub.com/ETLCPP/etl into feature/#615-addition-of-etl--expected # Conflicts: # .gitignore
…ub.com/ETLCPP/etl into feature/#615-addition-of-etl--expected # Conflicts: # include/etl/expected.h
…ub.com/ETLCPP/etl into feature/#615-addition-of-etl--expected # Conflicts: # include/etl/expected.h # test/vs2019/etl.vcxproj.filters
Implementation of |
I was planning to use this, but noticed only To not reinvent the wheel it would be nice if we could use them, but I quickly run into This layer would allow more lightweight C++ libraries to be used, e.g. |
I have an implementation of If you are not using the STL they you could try using a namespace alias... |
The trouble with the last thing I said about headers is that the compiler would not be able to distinguish which template library (STL or ETL) to use when it sees something like |
I think all |
I think the problem is that if you did that, the compiler will will probably still find its own headers before the ETL's.
|
With GCC it seems you can use Edit: There also seems to be a -I option. |
…ub.com/ETLCPP/etl into feature/#615-addition-of-etl--expected # Conflicts: # arduino/library-arduino.json # arduino/library-arduino.properties # include/etl/expected.h # include/etl/private/variant_variadic.h # include/etl/result.h # include/etl/version.h # library.json # library.properties # support/Release notes.txt # version.txt
Fixed 20.35.12 |
Could it be possible to add
etl::expected
, matching the c++23 std::expected.Because the lack of exceptions on my AVR platform, I have used
etl::variant
for this, but having a more standard way would be better.This could be a replacement of
etl::result
.The text was updated successfully, but these errors were encountered: