llvm-project/libcxx/test/std/numerics/complex.number/cmplx.over
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
..
UDT_is_rejected.fail.cpp Add SFINAE on additional overloads of std::complex functions. Fixes PR19921. 2016-07-20 00:14:10 +00:00
arg.pass.cpp
conj.pass.cpp
imag.pass.cpp
norm.pass.cpp
pow.pass.cpp
proj.pass.cpp
real.pass.cpp