[libcxx] [test] Fix Clang -Wpessimizing-move "moving a temporary object prevents copy elision".
N4618 30.6.6 [futures.unique_future]/12 declares "shared_future<R> share() noexcept;".
Paths
| Differential D29139
[libcxx] [test] Fix Clang -Wpessimizing-move "moving a temporary object prevents copy elision". ClosedPublic Authored by STL_MSFT on Jan 25 2017, 10:37 AM.
Details
Summary [libcxx] [test] Fix Clang -Wpessimizing-move "moving a temporary object prevents copy elision". N4618 30.6.6 [futures.unique_future]/12 declares "shared_future<R> share() noexcept;".
Diff Detail
Revision Contents
Diff 85781 test/std/thread/futures/futures.unique_future/share.pass.cpp
|