GiNaC 1.8.7
Public Member Functions | List of all members
GiNaC::expair_rest_is_less Struct Reference

Function object not caring about the numerical coefficients for insertion into third argument of STL's sort(). More...

#include <expair.h>

Public Member Functions

bool operator() (const expair &lh, const expair &rh) const
 

Detailed Description

Function object not caring about the numerical coefficients for insertion into third argument of STL's sort().

Note that this does not define a strict weak ordering since for any symbol x we have neither 3*x<2*x or 2*x<3*x. Handle with care!

Definition at line 103 of file expair.h.

Member Function Documentation

◆ operator()()

bool GiNaC::expair_rest_is_less::operator() ( const expair lh,
const expair rh 
) const
inline

Definition at line 104 of file expair.h.

References GiNaC::ex::compare(), and GiNaC::expair::rest.


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

This page is part of the GiNaC developer's reference. It was generated automatically by doxygen. For an introduction, see the tutorial.