SymEngine::RCPIntegerKeyLess Struct Reference

less operator (<) for Integers More...

#include <integer.h>

Public Member Functions

bool operator() (const RCP< const Integer > &a, const RCP< const Integer > &b) const
 

Detailed Description

less operator (<) for Integers

Definition at line 185 of file integer.h.

Member Function Documentation

◆ operator()()

bool SymEngine::RCPIntegerKeyLess::operator() ( const RCP< const Integer > &  a,
const RCP< const Integer > &  b 
) const
inline
Returns
true according to < operator

Definition at line 187 of file integer.h.

189  {
190  return a->as_integer_class() < b->as_integer_class();
191  }

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