Open utterances-bot opened 9 months ago
Introduction, examples and visual explanations of the basic principles behind C++ standard library algorithms.
https://hackingcpp.com/cpp/std/algorithms/intro.html
std::cout << *j <<'\n'; // prints '0' should be std::cout << *j <<'\n'; // prints '1'
std::cout << *j <<'\n'; // prints '0'
std::cout << *j <<'\n'; // prints '1'
@sunshaoce Thanks for spotting this!
C++ Standard Library Algorithms Introduction | hacking C++
Introduction, examples and visual explanations of the basic principles behind C++ standard library algorithms.
https://hackingcpp.com/cpp/std/algorithms/intro.html