jfb added inline comments.

================
Comment at: include/atomic:859
@@ +858,3 @@
+#if defined(__cpp_lib_atomic_is_always_lock_free)
+  static _LIBCPP_CONSTEXPR bool is_always_lock_free = 
__atomic_always_lock_free(sizeof(__a_), 0);
+#endif
----------------
EricWF wrote:
> jfb wrote:
> > I don't think so: it's similar to `std::integral_constant<_Tp, __v>::value`.
> integral_constant::value has a definition on line 481 of type_traits.
Ha! I'd totally missed that. That explains why I was confused :-)

Added, thanks!


http://reviews.llvm.org/D17951



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to