From: fred Date: Wed, 18 Dec 1996 01:00:54 +0000 (+0000) Subject: flower-1.0.15 X-Git-Tag: release/1.5.59~6564 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=7d7ebf296d3a2d9e043e85f601f887cdd7708d06;p=lilypond.git flower-1.0.15 --- diff --git a/flower/interval.hh b/flower/interval.hh index 6f9fa63f67..a7a269153b 100644 --- a/flower/interval.hh +++ b/flower/interval.hh @@ -48,13 +48,23 @@ struct Interval { max +=r; return *this; } - + bool elt_q(Real r); operator String() const; -}; + /// partial ordering + static compare(const Interval&,Interval const&); +}; +/** + this represents the closed interval [min,max] + */ Interval intersection(Interval, Interval const&); +#include "compare.hh" + +instantiate_compare(Interval&, Interval::compare); + #endif // INTERVAL_HH +