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

Functor returning the maximum 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::Max_Op< T >

Functor returning the maximum of two values.

Associative and idempotent binary operation for range-maximum queries.

Template Parameters
Ta totally ordered type.

Definition at line 128 of file tpl_sparse_table.H.

Member Function Documentation

◆ operator()()

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

Definition at line 130 of file tpl_sparse_table.H.


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