Nitpick: ly:spanner-bound grob name slur -> spanner.
[lilypond.git] / flower / interval.cc
blob64f431f4f5589df47505e47652d20d3909265a14
1 /*
2 interval.cc -- instantiate Interval_t<Real>
4 source file of the Flower Library
6 (c) 1997--2009 Han-Wen Nienhuys <hanwen@xs4all.nl>
7 */
9 #include "interval.hh"
11 #include "interval.tcc"
13 template<>
14 Real
15 Interval_t<Real>::infinity ()
17 return HUGE_VAL;
20 template<>
21 string
22 Interval_t<Real>::T_to_string (Real r)
24 return ::to_string (r);
27 template<>
28 int
29 Interval_t<int>::infinity ()
31 return INT_MAX;
34 template<>
35 string
36 Interval_t<int>::T_to_string (int i)
38 return ::to_string (i);
41 template INTERVAL__INSTANTIATE (int);
42 template INTERVAL__INSTANTIATE (Real);