diff options
Diffstat (limited to 'src/include/functional')
-rw-r--r-- | src/include/functional | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/functional b/src/include/functional index 5ef81bf49..ac0b070f4 100644 --- a/src/include/functional +++ b/src/include/functional @@ -35,6 +35,13 @@ namespace std typedef R result_type; ///< type of the return type }; + template<typename A, typename R> + struct unary_function + { + typedef A argument_type; + typedef R result_type; + }; + /** * less template */ |