[PATCH] D74380: Fix SFINAE in llvm::bit_cast.

Justin Lebar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 10 22:49:20 PST 2020


jlebar added a comment.

> Since is_trivially_constructible<T>::type doesn't exist, wouldn't this always be a substitution failure?

Ah, ::type exists, it is either true_type or false_type.  I still don't see how this ever worked, though, because then there's still no SFINAE...


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D74380/new/

https://reviews.llvm.org/D74380





More information about the llvm-commits mailing list