LIEF: Library to Instrument Executable Formats Version 1.0.0
Loading...
Searching...
No Matches
frozen::bits::LowerBound< T, Compare > Struct Template Reference

#include <algorithms.h>

Public Member Functions

constexpr LowerBound (T const &value, Compare const &compare)
template<class ForwardIt>
constexpr ForwardIt doit_fast (ForwardIt first, std::integral_constant< std::size_t, 0 >)
template<class ForwardIt, std::size_t N>
constexpr ForwardIt doit_fast (ForwardIt first, std::integral_constant< std::size_t, N >)
template<class ForwardIt, std::size_t N>
constexpr ForwardIt doitfirst (ForwardIt first, std::integral_constant< std::size_t, N >, std::integral_constant< bool, true >)
template<class ForwardIt, std::size_t N>
constexpr ForwardIt doitfirst (ForwardIt first, std::integral_constant< std::size_t, N >, std::integral_constant< bool, false >)
template<class ForwardIt>
constexpr ForwardIt doitfirst (ForwardIt first, std::integral_constant< std::size_t, 1 >, std::integral_constant< bool, false >)

Public Attributes

T const & value_
Compare const & compare_

Constructor & Destructor Documentation

◆ LowerBound()

template<class T, class Compare>
frozen::bits::LowerBound< T, Compare >::LowerBound ( T const & value,
Compare const & compare )
inlineconstexpr

References compare_, and value_.

Member Function Documentation

◆ doit_fast() [1/2]

template<class T, class Compare>
template<class ForwardIt>
ForwardIt frozen::bits::LowerBound< T, Compare >::doit_fast ( ForwardIt first,
std::integral_constant< std::size_t, 0 >  )
inlineconstexpr

◆ doit_fast() [2/2]

template<class T, class Compare>
template<class ForwardIt, std::size_t N>
ForwardIt frozen::bits::LowerBound< T, Compare >::doit_fast ( ForwardIt first,
std::integral_constant< std::size_t, N >  )
inlineconstexpr

References compare_, doit_fast(), and value_.

◆ doitfirst() [1/3]

template<class T, class Compare>
template<class ForwardIt>
ForwardIt frozen::bits::LowerBound< T, Compare >::doitfirst ( ForwardIt first,
std::integral_constant< std::size_t, 1 > ,
std::integral_constant< bool, false >  )
inlineconstexpr

References doit_fast().

◆ doitfirst() [2/3]

template<class T, class Compare>
template<class ForwardIt, std::size_t N>
ForwardIt frozen::bits::LowerBound< T, Compare >::doitfirst ( ForwardIt first,
std::integral_constant< std::size_t, N > ,
std::integral_constant< bool, false >  )
inlineconstexpr

◆ doitfirst() [3/3]

template<class T, class Compare>
template<class ForwardIt, std::size_t N>
ForwardIt frozen::bits::LowerBound< T, Compare >::doitfirst ( ForwardIt first,
std::integral_constant< std::size_t, N > ,
std::integral_constant< bool, true >  )
inlineconstexpr

References doit_fast().

Referenced by doitfirst(), and frozen::bits::lower_bound().

Member Data Documentation

◆ compare_

template<class T, class Compare>
Compare const& frozen::bits::LowerBound< T, Compare >::compare_

Referenced by doit_fast(), doitfirst(), and LowerBound().

◆ value_

template<class T, class Compare>
T const& frozen::bits::LowerBound< T, Compare >::value_

Referenced by doit_fast(), doitfirst(), and LowerBound().


The documentation for this struct was generated from the following file: