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

Replace MemoryEqualOperator_t<> with default equals operator #1438

Open
kammce opened this issue Jan 25, 2021 · 0 comments
Open

Replace MemoryEqualOperator_t<> with default equals operator #1438

kammce opened this issue Jan 25, 2021 · 0 comments
Labels
Build Issue or feature in code compilation system C++20 Migration/modernization to C++20 Refactor Call to refactor code base

Comments

@kammce
Copy link
Member

kammce commented Jan 25, 2021

Feature Request

Remove the template class used to inherit equals operator as this makes the code more confusing to understand.

Detailed Description

Requires GCC 10 for this to work. The solution afterwards would be to simply do this as an example:

bool operator==(const PinSettings_t&) const = default;
@kammce kammce added Build Issue or feature in code compilation system Refactor Call to refactor code base labels Jan 25, 2021
@kammce kammce self-assigned this Jan 25, 2021
@kammce kammce added the C++20 Migration/modernization to C++20 label Feb 9, 2021
@kammce kammce removed their assignment Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Build Issue or feature in code compilation system C++20 Migration/modernization to C++20 Refactor Call to refactor code base
Projects
None yet
Development

No branches or pull requests

1 participant