LibMusicXML 3.22
functor.h
1/*
2 MusicXML Library
3 Copyright (C) Grame 2006-2013
4
5 This Source Code Form is subject to the terms of the Mozilla Public
6 License, v. 2.0. If a copy of the MPL was not distributed with this
7 file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
9 Grame Research Laboratory, 11, cours de Verdun Gensoul 69002 Lyon - France
10 research@grame.fr
11*/
12
13#ifndef __functor__
14#define __functor__
15
16namespace MusicXML2
17{
18
19template <typename R>
20class functor {
21 public:
22 virtual ~functor() {}
23 virtual R operator ()() = 0;
24};
25
26}
27
28#endif
Definition functor.h:20