QuantLib
A free/open-source library for quantitative finance
Reference manual - version 1.8
earlier_than< T > Struct Template Reference

compare two objects by date More...

#include <ql/math/comparison.hpp>

Detailed Description

template<class T>
struct QuantLib::earlier_than< T >

compare two objects by date

There is no generic implementation of this struct. Template specializations will have to be defined for each needed type (see CashFlow for an example.)