Good!
A search in Mingw implementation of algorithms didn't turn up any instances of "throw".
Good!
A search in Mingw implementation of algorithms didn't turn up any instances of "throw".
I might be wrong.
Quoted more than 1000 times (I hope).Thank you, anon. You sure know how to recognize different types of trees from quite a long way away.
It is possible that this wording is for precautions only - allowing sort to throw an exception allows implementations to CHOOSE whether they throw an exception under some circumstances or not, whilst stating that it can't limits the implementation to only such ways that can not throw an exception. Just like there are plenty of compilers that allow things that are undefined by the C or C++ standard - because that particular compiler or C runtime has a suitable solution for this undefined behaviour.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.