diff options
author | Liang Qi <liang.qi@nokia.com> | 2011-04-26 12:01:18 (GMT) |
---|---|---|
committer | Liang Qi <liang.qi@nokia.com> | 2011-05-02 12:57:27 (GMT) |
commit | c12ed14fb38ae77be194e19a27545190aded830b (patch) | |
tree | 9600ff4e4a035b31f115025e2a39113b173d0820 /src/corelib/concurrent | |
parent | 7307d712e10783b57c4c95c8390a9455b69f473a (diff) | |
download | Qt-c12ed14fb38ae77be194e19a27545190aded830b.zip Qt-c12ed14fb38ae77be194e19a27545190aded830b.tar.gz Qt-c12ed14fb38ae77be194e19a27545190aded830b.tar.bz2 |
Get rid of "typename, typename" for TEMPLATE_TEMPLATE_PARAMETERS.
Because Qt doesn't support that feature before.
Diffstat (limited to 'src/corelib/concurrent')
-rw-r--r-- | src/corelib/concurrent/qtconcurrentfunctionwrappers.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/corelib/concurrent/qtconcurrentfunctionwrappers.h b/src/corelib/concurrent/qtconcurrentfunctionwrappers.h index fa675eb..98506a5 100644 --- a/src/corelib/concurrent/qtconcurrentfunctionwrappers.h +++ b/src/corelib/concurrent/qtconcurrentfunctionwrappers.h @@ -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> |