[PATCH] [libcxx] LWG2442: call_once() shouldn't DECAY_COPY()

Marshall Clow mclow.lists at gmail.com
Fri Jun 12 16:45:25 PDT 2015


A nit, but other than that, LGTM.


================
Comment at: test/std/thread/thread.mutex/thread.once/thread.once.callonce/call_once.pass.cpp:242
@@ +241,3 @@
+    }
+#if __cplusplus >= 201103L
+// reference qualifiers on functions are a C++11 extension
----------------
Let's use the `TEST_STD_VERS` macro instead of the naked `__cplusplus` here

http://reviews.llvm.org/D10191

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the cfe-commits mailing list