Review Request 121218: Allow using new style connect syntax with KStandardAction::create()

Nicolás Alvarez nicolas.alvarez at gmail.com
Sat Dec 20 16:30:05 UTC 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/121218/#review72345
-----------------------------------------------------------


MSVC2012 doesn't support default template parameters on function templates. You'll have to pick a different way of using enable_if, such as wrapping the return type or adding a default non-template parameter.

There is a nice list on the Remarks section of http://msdn.microsoft.com/en-us/library/ee361639.aspx (scenario 3 is the one that doesn't work).

- Nicolás Alvarez


On Nov. 30, 2014, 11:29 a.m., Alexander Richardson wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/121218/
> -----------------------------------------------------------
> 
> (Updated Nov. 30, 2014, 11:29 a.m.)
> 
> 
> Review request for KDE Frameworks, David Faure and Nicolás Alvarez.
> 
> 
> Repository: kconfigwidgets
> 
> 
> Description
> -------
> 
> Not sure if MSVC has the necessary type_traits working, but can't test that now since it don't have a Windows machine available.
> 
> 
> Diffs
> -----
> 
>   autotests/kstandardactiontest.h 0008d281c0353e872feb7483c75762a0012a7b76 
>   src/kstandardaction.cpp e5bea7965032355501b4c238e37abcc0f883c0b7 
>   autotests/kstandardactiontest.cpp 09ae35db05467d61b8baf50fac70c6228e324492 
>   src/kstandardaction.h d511778b7a24b1ec2e546949dab21f1ec2fea96f 
> 
> Diff: https://git.reviewboard.kde.org/r/121218/diff/
> 
> 
> Testing
> -------
> 
> The newly added unit test passes
> 
> 
> Thanks,
> 
> Alexander Richardson
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20141220/450ef29c/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list