* lexer-gcc-3.1.sh: Remove.
[lilypond/patrick.git] / lily / template5.cc
blobfcc788fd14f9160c93bbe621303b77555b682b1f
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 string
24 Interval_t<Rational>::T_to_string (Rational a)
26 return a.to_string ();
29 template INTERVAL__INSTANTIATE (Rational);