You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Who] As a C++ app developer
[What] I need to see sensible error messages when I mis-use a Herald API template class
[Value] In order to not be baffled by default C++ template error messages, and to speed the development of my app
Describe the potential solution you'd like
Deduction guides to minimise typing of types (so template classes can be used without angled braces)
static_asserts to point out when I'm mis-using a template class
Describe alternatives you've considered
Considered concepts instead of static asserts, but that's a C++20 feature, and embedded C++ layers don't yet support these well.
Additional context
See test classes using all of the sensor, analysis, exposure, and risk APIs to see how complex angled bracket parameters are getting. Also the amount of time taken debugging v2.1 due to a lack of helpful template error messages.
Relative priority
Medium, required before this version is released.
The text was updated successfully, but these errors were encountered:
[Who] As a C++ app developer
[What] I need to see sensible error messages when I mis-use a Herald API template class
[Value] In order to not be baffled by default C++ template error messages, and to speed the development of my app
Describe the potential solution you'd like
Describe alternatives you've considered
Considered concepts instead of static asserts, but that's a C++20 feature, and embedded C++ layers don't yet support these well.
Additional context
See test classes using all of the sensor, analysis, exposure, and risk APIs to see how complex angled bracket parameters are getting. Also the amount of time taken debugging v2.1 due to a lack of helpful template error messages.
Relative priority
Medium, required before this version is released.
The text was updated successfully, but these errors were encountered: