llvm-project/libcxx/test/std/numerics
Eric Fiselier b11642bf94 Add SFINAE on additional overloads of std::complex functions. Fixes PR19921.
The functions arg, conj, imag, norm, proj, and real have additional overloads
for arguments of integral or floating point types. However these overloads should
not allow conversions to the integral/floating point types, only exact matches.

This patch constrains these functions so they no longer allow conversions.

llvm-svn: 276067
2016-07-20 00:14:10 +00:00
..
c.math Replace __cplusplus comparisons and dialect __has_feature checks with TEST_STD_VER. 2016-06-14 21:31:42 +00:00
cfenv/cfenv.syn Move remaining _LIBCPP_VERSION tests into test/libcxx 2016-06-22 02:23:22 +00:00
complex.number Add SFINAE on additional overloads of std::complex functions. Fixes PR19921. 2016-07-20 00:14:10 +00:00
numarray Move remaining _LIBCPP_VERSION tests into test/libcxx 2016-06-22 02:23:22 +00:00
numeric.ops Move remaining _LIBCPP_VERSION tests into test/libcxx 2016-06-22 02:23:22 +00:00
numeric.requirements
numerics.general
rand Add array bounds assertions to satisfy MSVC's /analyze flag. Patch from STL@microsoft.com 2016-06-26 19:48:29 +00:00
nothing_to_do.pass.cpp