about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2020-06-28 08:30:22 -0700
committerGitHub <noreply@github.com>2020-06-28 08:30:22 -0700
commitec4898977a849fc73c8d3198e45c6f17c2bf177a (patch)
tree8abe212f831aa30f49239dbb3f52349ee5d6244f /src/libstd/sys/unix/stack_overflow.rs
parent25687caa2e4e35b31c29e28998710670e9d54ee9 (diff)
parent6f8ad3b20858c6c63c2098e690fddf0f33a80d2b (diff)
downloadrust-ec4898977a849fc73c8d3198e45c6f17c2bf177a.tar.gz
rust-ec4898977a849fc73c8d3198e45c6f17c2bf177a.zip
Rollup merge of #73577 - VillSnow:master, r=Amanieu
Add partition_point

Add partition_point in C++.
Although existing binary_search in rust does not suitable when the slice has multiple hits,
this function returns exact point of partition.
The definition of this function is very clear and able to accept general matter, therefore you can easily get index which you want like lower/upper_bound.

https://github.com/rust-lang/rfcs/issues/2184
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions