codex
Loading...
Searching...
No Matches
bsearch.hpp File Reference
#include <algorithm>
#include <cassert>
#include <cstddef>
#include <iterator>
#include <ranges>
Include dependency graph for bsearch.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  codex
 

Functions

template<std::random_access_iterator I, std::sentinel_for< I > S>
codex::lower_bound (I b, S e, const auto &x)
 
template<std::random_access_iterator I, std::sentinel_for< I > S>
bool codex::bsearch (I b, S e, const auto &x)