Namespaces
Variants
Views
Actions

Talk:cpp/iterator/iterator traits

From cppreference.com

Is there a reason not to use the, far more readable, "auto" in both places in the example? 194.74.130.171 02:03, 21 May 2021 (PDT)

Because the example is demonstrating the usage of std::iterator_traits, omitting that would obviously not be very demonstrative. --Ybab321 (talk) 03:24, 21 May 2021 (PDT)