5 #ifndef VCCC_ALGORITHM_RANGES_MAKE_HEAP_HPP_
6 #define VCCC_ALGORITHM_RANGES_MAKE_HEAP_HPP_
31 struct make_heap_niebloid {
33 template<
typename I,
typename S,
typename Comp = ranges::less,
typename Proj = identity, std::enable_if_t<conjunction<
34 random_access_iterator<I>,
36 sortable<I, Comp, Proj>
38 constexpr I operator()(I
first, S last, Comp comp = {}, Proj proj = {})
const {
51 template<
typename R,
typename Comp = ranges::less,
typename Proj = identity, std::enable_if_t<conjunction<
52 random_access_range<R>,
53 sortable<iterator_t<R>, Comp, Proj>
55 constexpr iterator_t<R> operator()(R&& r, Comp comp = {}, Proj proj = {})
const {
constexpr VCCC_INLINE_OR_STATIC detail::make_heap_niebloid make_heap
Definition: make_heap.hpp:65
constexpr invoke_result_t< F, Args... > invoke(F &&f, Args &&... args) noexcept(is_nothrow_invocable< F, Args... >::value)
Definition: invoke.hpp:38
constexpr VCCC_INLINE_OR_STATIC detail::next_niebloid next
Definition: next.hpp:65
constexpr VCCC_INLINE_OR_STATIC detail::begin_niebloid begin
returns an iterator to the beginning of a range
Definition: begin.hpp:116
constexpr VCCC_INLINE_OR_STATIC detail::end_niebloid end
returns a sentinel indicating the end of a range
Definition: end.hpp:120
#define VCCC_INLINE_OR_STATIC
Definition: inline_or_static.hpp:9
Definition: directory.h:12
constexpr VCCC_INLINE_OR_STATIC detail::element_niebloid< 0 > first
Definition: key_value.hpp:34
constexpr VCCC_INLINE_OR_STATIC detail::element_niebloid< 1 > value
Definition: key_value.hpp:35