5#ifndef INCLUDE_GUARD_ARENE_BASE_STDLIB_INCLUDE_STDLIB_DETAIL_LOWER_BOUND_HPP_
6#define INCLUDE_GUARD_ARENE_BASE_STDLIB_INCLUDE_STDLIB_DETAIL_LOWER_BOUND_HPP_
8#include "arene/base/algorithm/detail/traits.hpp"
11#include "arene/base/functional/detail/operator_less.hpp"
54 class ForwardIterator,
61 arene::base::algorithm_detail::iter_reference_t<ForwardIterator>,
62 T
const&>>> =
nullptr>
63constexpr auto lower_bound(ForwardIterator first, ForwardIterator last, T
const&
value, Compare comp)
noexcept(
67 arene::base::bind_back_detail::bind_back_t<Compare, T const&>(comp,
value)
73 arene::base::bind_back_detail::bind_back_t<Compare, T const&>(comp,
value)
102 class ForwardIterator,
107 decltype(arene::base::functional_detail::operator_less)&,
108 arene::base::algorithm_detail::iter_reference_t<ForwardIterator>,
109 T
const&>>> =
nullptr>
110constexpr auto lower_bound(ForwardIterator first, ForwardIterator last, T
const&
value)
noexcept(
112) -> ForwardIterator {
Public export header for the constraints subpackage.
constexpr bool is_binary_predicate_v
determines if a type satisfies the BinaryPredicate named requirement
typename constraints_impl::constraints< EnableIfs... >::type constraints
Helper used to express template constraints in a consistent way using std::enable_if_t.
Definition constraints.hpp:51
constexpr auto partition_point(ForwardIterator first, ForwardIterator last, UnaryPred pred) noexcept(std::is_nothrow_move_constructible_v< ForwardIterator > and//std::is_nothrow_move_assignable_v< ForwardIterator >and//noexcept(arene::base::distance(first, last)) and//noexcept(arene::base::next(first)) and//noexcept(pred(*first))) -> ForwardIterator
locates the partition point of a range partitioned with respect to an unary predicate
Definition internal_partition_point.hpp:46
constexpr auto lower_bound(ForwardIterator first, ForwardIterator last, T const &value, Compare comp) noexcept(noexcept(std::internal::partition_point(std::move(first), std::move(last), arene::base::bind_back_detail::bind_back_t< Compare, T const & >(comp, value)))) -> ForwardIterator
returns an iterator to the first element not less than the given value
Definition lower_bound.hpp:63
constexpr Type integral_constant< Type, Value >::value
Out-of-line definition for the value constant.
Definition integral_constant.hpp:64
constexpr auto move(T &&value) noexcept -> remove_reference_t< T > &&
Cast a value to an rvalue.
Definition move.hpp:30
typename enable_if< Condition, Type >::type enable_if_t
Type alias to support constraining templates. Is an alias for the specified type if the Condition is ...
Definition enable_if.hpp:41