QuantLib: earlier_than< T > Struct Template Reference

A free/open-source library for quantitative finance Reference manual - version 1.6

- Main Page
- Related Pages
- Modules
- Classes
- Examples

- Class List
- Class Index
- Class Hierarchy
- Class Members

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.)