Comment Comment by MauranKilom According to https://en.cppreference.com/w/cpp/algorithm/stable_sort:> This function attempts to allocate a temporary buffer equal in size to the sequence to be sorted. If the allocation fails, the less efficient algorithm is chosen.Or is this not what you consider a "functional construct"? parent MauranKilom 6 years ago
> This function attempts to allocate a temporary buffer equal in size to the sequence to be sorted. If the allocation fails, the less efficient algorithm is chosen.
Or is this not what you consider a "functional construct"?