Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::Min_Op< T > Struct Template Reference

Functor returning the minimum of two values. More...

#include <tpl_sparse_table.H>

Public Member Functions

constexpr T operator() (const T &a, const T &b) const noexcept
 

Detailed Description

template<std::totally_ordered T>
struct Aleph::Min_Op< T >

Functor returning the minimum of two values.

Associative and idempotent binary operation for range-minimum queries.

Template Parameters
Ta totally ordered type.

Definition at line 112 of file tpl_sparse_table.H.

Member Function Documentation

◆ operator()()

template<std::totally_ordered T>
constexpr T Aleph::Min_Op< T >::operator() ( const T a,
const T b 
) const
inlineconstexprnoexcept

Definition at line 114 of file tpl_sparse_table.H.


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