Bound-STL attempts to implement lower_bound
and upper_bound
in C++ STL.
This repo hosts at bound-stl
```rust use bound_stl::LowerBound;
let v = vec![1, 2, 3, 4, 5]; asserteq!(v.lowerbound(&3), Some(2)); asserteq!(v.lowerbound(&6), Err(5));
use bound_stl::UpperBound;
let v = vec![1, 2, 3, 4, 5]; asserteq!(v.upperbound(&3), Some(3)); asserteq!(v.upperbound(&6), Err(5));
```