https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91558
Bug ID: 91558
Summary: [C++11] <complex> should not be constexpr until C++14
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: yichen.yan at inf dot ethz.ch
Target Milestone: ---
Detail:
Constexpr for <complex> is in C++14 if I don't misunderstand. But a lot of
testcases under libstdc++-v3/testsuite/26_numerics/complex/ (e.g. dr844.cc)
runs with C++11 and check for constexpr (and pass).
I haven't found some manual or doc explaining that, and wonder if this is a bug
or some feature?