commit | 24047fd4a7e8231b2220abc1d20b16bc5de3ee87 | [log] [tgz] |
---|---|---|
author | Rachel Craik <rcraik@ca.ibm.com> | Mon Jul 24 22:17:05 2017 +0000 |
committer | Rachel Craik <rcraik@ca.ibm.com> | Mon Jul 24 22:17:05 2017 +0000 |
tree | c43419e1d3c578d9c208d75a5a8c9ac034f94077 | |
parent | 33e24e157eccb1a7ea09a7320a85b96380a25b88 [diff] |
Remove addtional parameters in function std::next() and std::prev() Creating a function pointer with proper parameters pointing to std::next() or std::prev() should work. This change moves the invented paramater for enable_if over to the return type to resolve this QoI issue. Patch by Jason Liu. Differential Revision: https://reviews.llvm.org/D34649 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@308932 91177308-0d34-0410-b5e6-96231b3b80d8