On Wed, Feb 24, 2016 at 4:14 PM, Samuel Benzaquen via cfe-commits
<cfe-commits@lists.llvm.org> wrote:
> sbenza added a comment.
>
> I assume you checked that the new trait works on MSVC.

Yes. It's also used in ThreadSafety.cpp, so maybe at some point we may
want to consider generalizing the trait.

> Aren't both the same type of expression SFINAE?

I believe so, yes.

> Is somehow one supported but not the other?

Compiler bugs, most likely. The one I am proposing has the benefit of
working everywhere we care about, at least as far as it's been used in
thread safety analysis for a few releases (so it also works with MSVC
2013 as well as MSVC 2015).

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

Reply via email to