aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJason Merrill <jason@gcc.gnu.org>2017-12-01 16:17:32 -0500
committerJason Merrill <jason@gcc.gnu.org>2017-12-01 16:17:32 -0500
commit19041dad9b7f03b32775864c41649a81ebca8092 (patch)
tree02970b0337186989d95f1b6de40b655c34ec0425 /gcc
parentb3e862e09c0adb5dfaae2f538f19dc72948d040b (diff)
downloadgcc-19041dad9b7f03b32775864c41649a81ebca8092.zip
gcc-19041dad9b7f03b32775864c41649a81ebca8092.tar.gz
gcc-19041dad9b7f03b32775864c41649a81ebca8092.tar.bz2
* doc/extend.texi: Mention C++14 library complex suffix.
From-SVN: r255339
Diffstat (limited to 'gcc')
-rw-r--r--gcc/doc/extend.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 30f89b0..3d5e15c 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -897,6 +897,10 @@ conforming C library (such as the GNU C Library), and want to construct complex
constants of floating type, you should include @code{<complex.h>} and
use the macros @code{I} or @code{_Complex_I} instead.
+The ISO C++14 library also defines the @samp{i} suffix, so C++14 code
+that includes the @samp{<complex>} header cannot use @samp{i} for the
+GNU extension. The @samp{j} suffix still has the GNU meaning.
+
@cindex @code{__real__} keyword
@cindex @code{__imag__} keyword
To extract the real part of a complex-valued expression @var{exp}, write