Get rid of "typename, typename" for TEMPLATE_TEMPLATE_PARAMETERS.

Because Qt doesn't support that feature before.
(cherry picked from commit c12ed14fb38ae77be194e19a27545190aded830b)
This commit is contained in:
Liang Qi 2011-04-26 14:01:18 +02:00 committed by Olivier Goffart
parent 91f5144f90
commit 046befd0c4

View File

@ -260,24 +260,6 @@ struct MapResultType<InputSequence<T>, U(C::*)() const>
typedef InputSequence<U> ResultType;
};
template <template <typename, typename> class InputSequence, typename MapFunctor, typename T, typename T2>
struct MapResultType<InputSequence<T, T2>, MapFunctor>
{
typedef InputSequence<typename LazyResultType<MapFunctor>::Type, T2> ResultType;
};
template <template <typename, typename> class InputSequence, class T, typename T2, class U, class V>
struct MapResultType<InputSequence<T, T2>, U (*)(V)>
{
typedef InputSequence<U, T2> ResultType;
};
template <template <typename, typename> class InputSequence, class T, typename T2, class U, class C>
struct MapResultType<InputSequence<T, T2>, U(C::*)() const>
{
typedef InputSequence<U, T2> ResultType;
};
#endif // QT_NO_TEMPLATE_TEMPLATE_PARAMETER
template <class MapFunctor>