util/BindMethod: new utility class for callbacks

Replaces the old BoundMethod template.
This commit is contained in:
Max Kellermann
2016-06-17 17:00:05 +02:00
parent bdd0c3686d
commit 863f4d8366
8 changed files with 206 additions and 92 deletions

View File

@@ -391,7 +391,7 @@ endif
libutil_a_SOURCES = \
src/util/RuntimeError.hxx \
src/util/Macros.hxx \
src/util/BoundMethod.hxx \
src/util/BindMethod.hxx \
src/util/Cast.hxx \
src/util/Clamp.hxx \
src/util/DeleteDisposer.hxx \