This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++,doc] vector conditional expression
- From: Gerald Pfeifer <gerald at pfeifer dot com>
- To: Marc Glisse <marc dot glisse at inria dot fr>, Jason Merrill <jason at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 2 Dec 2013 14:54:56 +0100 (CET)
- Subject: Re: [C++,doc] vector conditional expression
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot DEB dot 2 dot 02 dot 1307071343320 dot 31289 at stedding dot saclay dot inria dot fr> <51DAE2FE dot 1040707 at redhat dot com> <alpine dot DEB dot 2 dot 10 dot 1307081810170 dot 17629 at stedding dot saclay dot inria dot fr> <51DB7FA0 dot 8090601 at redhat dot com> <alpine dot DEB dot 2 dot 02 dot 1307132114160 dot 18427 at stedding dot saclay dot inria dot fr> <alpine dot LNX dot 2 dot 00 dot 1308041851180 dot 9767 at trevally dot site> <alpine dot DEB dot 2 dot 10 dot 1308210237510 dot 3628 at laptop-mg dot saclay dot inria dot fr> <alpine dot DEB dot 2 dot 10 dot 1309131006310 dot 3557 at laptop-mg dot saclay dot inria dot fr> <alpine dot DEB dot 2 dot 10 dot 1312021416050 dot 11672 at stedding dot saclay dot inria dot fr>
Sorry, I was waiting for Jason to review (since he's the subject
matter expert), and I guess he was waiting for me?
Jason, can you please have a look and approve?
Only one comment from my side:
Index: doc/extend.texi
===================================================================
+In C++, the ternary operator @code{?:} is available. @code{a?b:c}, where
+@code{b} and @code{c} are vectors of the same type and @code{a} is an
+integer vector of the same size and number of elements as @code{b} and
+@code{c}
Why "same size and number of elements" in the above? What is the
difference between these two?
Gerald