Как многие могли заметить, в ленте появились посты из r/cpp. Не каждый пост оттуда имеет практическую ценность, но так как они подтягиваются автоматически, я постараюсь вручную следить за качеством контента и удалять лишнее.
Reddit
C++
Discussions, articles and news about the C++ programming language or programming in C++.
Arthur O’Dwyer
For what inputs is `std::sort` unstable?
For what inputs is `std::sort` unstable?
quuxplusone.github.io
For what inputs is std::sort unstable?
A sorting algorithm is “stable” if, for two equivalent elements, it preserves their
original order relative to each other.
It might be useful to know a concrete example of input for which your library’s
std::sort is unstable. Here are examples for libc++…
original order relative to each other.
It might be useful to know a concrete example of input for which your library’s
std::sort is unstable. Here are examples for libc++…