Fix sorted_vector_types bulk insertion
Summary: The `bulk_insert()` method left duplicates from the input range when the container was empty. Also, `bulk_insert()` relies on `std::inplace_merge()` to be stable, but `libc++`s version of `std::inplace_merge()` was buggy until [August 2017](https://github.com/llvm-mirror/libcxx/commit/25a78dcd773ce509469a2b892adbeac0c230cdb9). Since it is fixed upstream, and it is a library bug, I've not mitigated the bug. Reviewed By: yfeldblum Differential Revision: D6943195 fbshipit-source-id: 136caa52c21a9e0dbc09b0a47ad57e99d2fde380
Showing
Please register or sign in to comment