------- Comment #2 from chris at bubblescope dot net 2008-03-11 17:08 ------- This used to work (works on Apple's gcc 4.0.1).
The bug is an inconsistency between __check_sorted_set on lines 317 and 334 and the __check_sorted_set_aux on the lines before The 4 __check_sorted_set_aux methods expect to be pass all the parameters of __check_sorted_set, including the _InputIterator2, even though they never use it. However, it isn't passed by __check_sorted_set, so there is the incorrect number of parameters. As far as I can see, this code can have never worked.. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35541