2 scalar.hh -- part of LilyPond
4 (c) 1996 Han-Wen Nienhuys
12 /// Perl -like scalar type.
13 struct Scalar
: public String
{
15 Scalar(Real r
) : String(r
) {}
16 Scalar(int i
) : String(i
) {}
17 Scalar(char c
) : String(c
) {}
18 Scalar(const char *c
) : String(c
) {}
19 Scalar(String s
):String(s
) {}
27 /** perl -like string to bool conversion.
29 operator bool() const;