compile with windows
MSVC doesn't pick up the right template partial specialisation. (cherry picked from commit 0188f5ee18d00ae18e65a03c712d3f701e84fa80)bb10
parent
7efa2f6aab
commit
9c39117419
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue