-
Notifications
You must be signed in to change notification settings - Fork 159
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
[onert] Apply c++17 features #14647
Comments
if constexpr |
Template Argument Deduction for Class Templates (Deduction Guides)This feature could negatively impact readability, so I will not be applying it. |
Filesystem Library (std::filesystem)This feature was already resolved by #12450 |
std::optionalConsidering consistency with the existing code and potential performance overhead, I did not find any suitable places to apply |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What
Let's apply C++17 features to onert. The goal is to modernize the codebase by leveraging new language features, thereby simplifying the code and improving maintainability.
Why
Features to be applied
Nested Namespace Declarations
Inline Variables
Structured Bindings
if constexpr
Fold Expressions
Template Argument Deduction for Class Templates (Deduction Guides)
Filesystem Library (std::filesystem)
std::optional
std::variant
std::any
std::string_view
Parallel Algorithms (Execution Policies)
[[nodiscard]] Attribute
The text was updated successfully, but these errors were encountered: