This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ PATCH] "decomposition declaration" -> "structured binding" in C++ diagnostics
- From: Jason Merrill <jason at redhat dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: gcc-patches List <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 30 Jun 2017 15:15:21 -0400
- Subject: Re: [C++ PATCH] "decomposition declaration" -> "structured binding" in C++ diagnostics
- Authentication-results: sourceware.org; auth=none
- References: <20170630172630.GO2123@tucnak>
On Fri, Jun 30, 2017 at 1:26 PM, Jakub Jelinek <jakub@redhat.com> wrote:
> Hi!
>
> As C++17 decided to rename decompositions to structured bindings, this
> patch attempts to adjust the diagnostics by replacing
> "decomposition declaration" with "structured binding".
> Or shall I use "structured binding declaration" instead (or is that too
> longer/verbose), or something different?
"structured binding declaration" is better when you're talking about
the declaration syntax. When you're talking about the feature in the
first hunk, "structured bindings". "structured binding variable" is
good in the one hunk where you've used that.
Jason