From 277594caaacbefc4e75d5de34d3972de5ad56d17 Mon Sep 17 00:00:00 2001 From: fred Date: Tue, 10 Mar 1998 22:36:10 +0000 Subject: [PATCH] lilypond-0.1.48 --- flower/include/arithmetic-operator.hh | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 flower/include/arithmetic-operator.hh diff --git a/flower/include/arithmetic-operator.hh b/flower/include/arithmetic-operator.hh new file mode 100644 index 0000000000..6b95340495 --- /dev/null +++ b/flower/include/arithmetic-operator.hh @@ -0,0 +1,22 @@ +/* + arithmetic-operator.hh -- declare + + source file of the Flower Library + + (c) 1997 Han-Wen Nienhuys + + */ + +#ifndef ARITHMETIC_OPERATOR_HH +#define ARITHMETIC_OPERATOR_HH + +#define IMPLEMENT_ARITHMETIC_OPERATOR(type, op) \ +inline type \ +operator op (type a1, type const& a2) \ +{ \ + a1 op ## = a2; \ + return a1; \ +} + +#endif /* ARITHMETIC_OPERATOR_HH */ + -- 2.39.5