[Cs3] finding max with initializer list
Mikhail Nesterenko
mikhail at cs.kent.edu
Wed Jul 1 11:09:08 EDT 2015
CS3 students,
remember max("a", "b", "z", "x") was returning an incorrect value in
this example:
http://vega.cs.kent.edu/~mikhail/classes/cs3/Examples/STL/Algorithms/Utility/utility.cpp
I asked what the deal is on stackoverflow. Here is what they had to
say
http://stackoverflow.com/questions/31164763/c-max-with-intializer-list-returns-strings-out-of-order
Thanks,
--
Mikhail
More information about the cs3
mailing list