justinmeiners / efficient-programming-with-components

Course notes for Alexander Stepanov's teachings on design and usage of C++ STL.
https://www.jmeiners.com/efficient-programming-with-components/
74 stars 6 forks source link

Improve `test_min1_2.cpp` #56

Open justinmeiners opened 2 years ago

justinmeiners commented 2 years ago

This could use more explanation, both in the code, and in the text. Also note the original compares several variations of this code that we did not include:

https://github.com/rjernst/stepanov-components-course/blob/master/code/lecture10/min_element1_2.h