Fix for C++03 tests for .map() using result_of

This commit is contained in:
Andrzej Krzemienski
2018-06-24 17:12:38 +02:00
parent 250806d029
commit 42445e94aa

View File

@ -86,6 +86,7 @@ struct Int
struct convert_t
{
typedef Int result_type;
Int operator()(int i) { return Int(i); }
};
@ -96,6 +97,7 @@ int& get_int_ref(Int& i)
struct get_ref
{
typedef int& result_type;
int& operator()(int& i) { return i; }
};