diff options
| author | Eric Fiselier <eric@efcs.ca> | 2019-06-23 20:28:29 +0000 |
|---|---|---|
| committer | Eric Fiselier <eric@efcs.ca> | 2019-06-23 20:28:29 +0000 |
| commit | 3359a17b3aef1effa494da3abe7f438f5bb184a7 (patch) | |
| tree | f51ba30f6eb36434c187ea7d887682f8204b749b /libcxx/include/cmath | |
| parent | e2291f5af92920ab8f85057b0b1c83e3eae200d5 (diff) | |
| download | bcm5719-llvm-3359a17b3aef1effa494da3abe7f438f5bb184a7.tar.gz bcm5719-llvm-3359a17b3aef1effa494da3abe7f438f5bb184a7.zip | |
Apply new meta-programming traits throughout the library.
The new meta-programming primitives are lower cost than the old versions. This patch removes those old versions and switches libc++ to use the new ones.
llvm-svn: 364160
Diffstat (limited to 'libcxx/include/cmath')
| -rw-r--r-- | libcxx/include/cmath | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/cmath b/libcxx/include/cmath index 0f7018f34e3..f5864be5e11 100644 --- a/libcxx/include/cmath +++ b/libcxx/include/cmath @@ -529,7 +529,7 @@ inline _LIBCPP_INLINE_VISIBILITY long double hypot( long double x, long double y template <class _A1, class _A2, class _A3> inline _LIBCPP_INLINE_VISIBILITY -typename __lazy_enable_if +typename _EnableIf < is_arithmetic<_A1>::value && is_arithmetic<_A2>::value && |

