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

Comparator for sorting bid levels (descending price) More...

#include <price_level_l2.hpp>

Collaboration diagram for slick::orderbook::detail::BidComparator:

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 bid levels (descending price)

Definition at line 56 of file price_level_l2.hpp.

Member Function Documentation

◆ operator()() [1/4]

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

Definition at line 57 of file price_level_l2.hpp.

◆ operator()() [2/4]

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

Definition at line 65 of file price_level_l2.hpp.

◆ operator()() [3/4]

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

Definition at line 61 of file price_level_l2.hpp.

◆ operator()() [4/4]

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

Definition at line 69 of file price_level_l2.hpp.


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