compile with windows

MSVC doesn't pick up the right template partial specialisation.
(cherry picked from commit 0188f5ee18d00ae18e65a03c712d3f701e84fa80)
bb10
Olivier Goffart 2011-04-20 15:43:53 +02:00
parent 7efa2f6aab
commit 9c39117419
1 changed files with 4 additions and 4 deletions

View File

@ -216,14 +216,14 @@ struct MapResultType
typedef typename MapFunctor::result_type ResultType;
};
template <class InputSequence, class U, class V>
struct MapResultType<InputSequence, U (*)(V)>
template <class U, class V>
struct MapResultType<void, U (*)(V)>
{
typedef U ResultType;
};
template <class InputSequence, class T, class C>
struct MapResultType<InputSequence, T(C::*)() const>
template <class T, class C>
struct MapResultType<void, T(C::*)() const>
{
typedef T ResultType;
};