* flower/include/std-string.hh: String/std::string compatibility:
[lilypond/patrick.git] / lily / template5.cc
blobd2581833b634cc307a29a2a19e29c883c81fdccb
1 /*
2 template5.cc -- instantiate Intervals
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
7 */
9 #include "moment.hh"
11 #include "interval.tcc"
13 template<>
14 Rational
15 Interval_t<Rational>::infinity ()
17 Rational infty;
18 infty.set_infinite (1);
19 return infty;
22 template<>
23 Std_string
24 Interval_t<Rational>::T_to_string (Rational a)
26 return a.to_string ();
29 template INTERVAL__INSTANTIATE (Rational);