ETLCPP / etl

Embedded Template Library
https://www.etlcpp.com
MIT License
2.25k stars 393 forks source link

algorithm.h with #define ETL_NO_STL does not work in ETL version 20.28.15 #899

Closed falkd closed 5 months ago

falkd commented 6 months ago

The "rotate_general" method is using std::advance and std::distance regardless of the ETL_NO_STL definition. This generates a compiler error e.g.:

etl/private/../algorithm.h:1296:33: error: 'distance' is not a member of 'std'

jwellbelove commented 5 months ago

This issue is being addressed in PR #897