libhal / SJSU-Dev2

Firmware platform written by San Jose State University for building application for embedded systems
Apache License 2.0
36 stars 63 forks source link

Replace MemoryEqualOperator_t<> with default equals operator #1438

Open kammce opened 3 years ago

kammce commented 3 years ago

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;