LWG2442: call_once() shouldn't DECAY_COPY(). Patch from K-Ballo.
authorEric Fiselier <eric@efcs.ca>
Sat, 13 Jun 2015 02:23:00 +0000 (02:23 +0000)
committerEric Fiselier <eric@efcs.ca>
Sat, 13 Jun 2015 02:23:00 +0000 (02:23 +0000)
commit793f59e7676ca997ffe0a919d9135bb3dcad7ecf
treeec0e5e92f17d9ddd4962605e1cf90c1b87e8c8e1
parent678ad2f9daeed8b40c3272e67e8837b4629b72be
LWG2442: call_once() shouldn't DECAY_COPY(). Patch from K-Ballo.

This patch fixes LWG issue 2422 by removing the DECAY_COPY from call once.
The review can be found here: http://reviews.llvm.org/D10191

llvm-svn: 239654
libcxx/include/mutex
libcxx/test/std/thread/thread.mutex/thread.once/thread.once.callonce/call_once.pass.cpp
libcxx/www/cxx1z_status.html