Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix strong_typedef_op::iterator type aliases (foonathan#95)
1) difference_type is misnamed distance_type. iterator doesn't have a distance_type. 2) value_type should have const removed if T is const. Otherwise some of the STL algorithms don't work (e.g. partial_sum). std::vector's iterator does this for all C++ versions and std::iterator_traits have it fixed for C++20. Unrelated issue (too minor too be worthy of it's own commit): all_of.hpp header isn't needed.
- Loading branch information