Comments on: C++ STL sort weirdness http://www.danvk.org/wp/2007-12-16/c-stl-sort-weirdness/ Keepin' static like wool fabric since 2006 Wed, 08 Oct 2014 14:33:23 +0000 hourly 1 http://wordpress.org/?v=3.9.2 By: Evan M http://www.danvk.org/wp/2007-12-16/c-stl-sort-weirdness/comment-page-1/#comment-6449 Wed, 19 Dec 2007 01:55:56 +0000 http://www.danvk.org/wp/?p=241#comment-6449 The segfaulting is due to preconditions not being met in the sorting function. E.g., imagine a binary search on an unsorted list — it could hit cases where the midpoint is not between the endpoints and for speed reasons not have code to properly handled that situation.

]]>