diff options
author | Olivier Goffart <[email protected]> | 2013-03-01 10:18:36 +0100 |
---|---|---|
committer | The Qt Project <[email protected]> | 2013-03-19 23:16:38 +0100 |
commit | bc98bba2f302922761209c0e91485e809354abc1 (patch) | |
tree | 82854fc70dd695c27abe9bbe8c61d07e9b8f314d /src/widgets/util/qundostack.cpp | |
parent | e66159cfc7f78b8ad617175bbef6b70edbf9da6b (diff) |
Support connection to functor with multiple operator()
When variadic templates and decltype are supported, detect the best
overload of operator() to call.
Currently, the code takes the type of the operator(), which requires that
the functor only has one, and that it has no template parameter.
This feature is required if we want to connect to c++1y generic lambda
(N3418)
Change-Id: Ifa957da6955ea39ab804b58f320da9f98ff47d63
Reviewed-by: Jędrzej Nowacki <[email protected]>
Diffstat (limited to 'src/widgets/util/qundostack.cpp')
0 files changed, 0 insertions, 0 deletions