llvm-project/libcxx/test/std/numerics/complex.number
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
..
ccmplx
cmplx.over Add SFINAE on additional overloads of std::complex functions. Fixes PR19921. 2016-07-20 00:14:10 +00:00
complex
complex.literals Remove trailing whitespace in test suite. Approved by Marshall Clow. 2016-06-01 21:35:39 +00:00
complex.member.ops Remove trailing whitespace in test suite. Approved by Marshall Clow. 2016-06-01 21:35:39 +00:00
complex.members
complex.ops Rename some test data (and make it const) to rid us of some shadowing warnings in the test suite. No functional change. Thanks to STL@microsoft for the report and patch. 2016-06-06 18:24:08 +00:00
complex.special
complex.synopsis
complex.transcendentals Rename some test data (and make it const) to rid us of some shadowing warnings in the test suite. No functional change. Thanks to STL@microsoft for the report and patch. 2016-06-06 18:24:08 +00:00
complex.value.ops Rename some test data (and make it const) to rid us of some shadowing warnings in the test suite. No functional change. Thanks to STL@microsoft for the report and patch. 2016-06-06 18:24:08 +00:00
cases.h Rename some test data (and make it const) to rid us of some shadowing warnings in the test suite. No functional change. Thanks to STL@microsoft for the report and patch. 2016-06-06 18:24:08 +00:00
layout.pass.cpp