[PATCH] D17951: Implement is_always_lock_free
JF Bastien via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 23 14:07:38 PDT 2016
jfb added inline comments.
Comment at: include/atomic:859
@@ +858,3 @@
+ static _LIBCPP_CONSTEXPR bool is_always_lock_free = __atomic_always_lock_free(sizeof(__a_), 0);
> 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 :-)
More information about the cfe-commits