Slick OrderBook 1.1.0
High-Performance C++23 OrderBook Library
Loading...
Searching...
No Matches
slick::orderbook::detail::AskComparator Struct Reference

Comparator for sorting ask levels (ascending price) More...

#include <price_level_l2.hpp>

Collaboration diagram for slick::orderbook::detail::AskComparator:

Public Member Functions

constexpr bool operator() (const PriceLevelL2 &a, const PriceLevelL2 &b) const noexcept
 
constexpr bool operator() (Price a, const PriceLevelL2 &b) const noexcept
 
constexpr bool operator() (const PriceLevelL2 &a, Price b) const noexcept
 
constexpr bool operator() (Price a, Price b) const noexcept
 

Detailed Description

Comparator for sorting ask levels (ascending price)

Definition at line 75 of file price_level_l2.hpp.

Member Function Documentation

◆ operator()() [1/4]

constexpr bool slick::orderbook::detail::AskComparator::operator() ( const PriceLevelL2 &  a,
const PriceLevelL2 &  b 
) const
inlineconstexprnoexcept

Definition at line 76 of file price_level_l2.hpp.

◆ operator()() [2/4]

constexpr bool slick::orderbook::detail::AskComparator::operator() ( const PriceLevelL2 &  a,
Price  b 
) const
inlineconstexprnoexcept

Definition at line 84 of file price_level_l2.hpp.

◆ operator()() [3/4]

constexpr bool slick::orderbook::detail::AskComparator::operator() ( Price  a,
const PriceLevelL2 &  b 
) const
inlineconstexprnoexcept

Definition at line 80 of file price_level_l2.hpp.

◆ operator()() [4/4]

constexpr bool slick::orderbook::detail::AskComparator::operator() ( Price  a,
Price  b 
) const
inlineconstexprnoexcept

Definition at line 88 of file price_level_l2.hpp.


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