commit | 950ee77d249141950e94e3f3c48e7bac2839a1ff | [log] [tgz] |
---|---|---|
author | Eric Fiselier <eric@efcs.ca> | Fri Oct 17 00:31:47 2014 +0000 |
committer | Eric Fiselier <eric@efcs.ca> | Fri Oct 17 00:31:47 2014 +0000 |
tree | e47a0b9e929cd1f1134c5232c7eced1f8e7f889a | |
parent | 66d529f0ad9ee6e8626be1fe13724ca5c8a199a8 [diff] |
[libcxx] Fix SFINAE in <cmath>. Patch from K-Ballo. Delay instantiation of `__numeric_type` within <cmath>, don't instantiate it when the `is_arithmetic` conditions do not hold as it causes errors with user-defined types with ambiguous conversions. Fixes PR21083. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@219998 91177308-0d34-0410-b5e6-96231b3b80d8