ETLCPP / etl

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

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

Closed falkd closed 1 month ago

falkd commented 1 month 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 1 month ago

This issue is being addressed in PR #897