This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: C++ PATCH: PR 20599 (1/3)
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Paolo Carlini <pcarlini at suse dot de>
- Cc: Benjamin Kosnik <bkoz at redhat dot com>, Douglas Gregor <doug dot gregor at gmail dot com>, gcc-patches at gcc dot gnu dot org, libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: Mon, 02 Oct 2006 19:50:18 -0700
- Subject: Re: C++ PATCH: PR 20599 (1/3)
- References: <450A658C.7050109@suse.de> <450F024C.9030904@codesourcery.com> <24b520d20609181627o651f77d9l7d8832ec5c7038a7@mail.gmail.com> <4rdvg2horcsuasdvh7ipmjjkndh7eu0f1a@4ax.com> <24b520d20609190734r7870eb67ob2cb3a0b28e08fe4@mail.gmail.com> <24b520d20609190743h6a7197ecrcf81eac973ad6531@mail.gmail.com> <5t50h2lpfc1ml861i9lvn6kb67apk8term@4ax.com> <m3odtbdbk6.fsf@zeus.integrable-solutions.net> <20060919173834.GR31210@synopsys.com> <4rb0h2p88dgivc267gbqccketoqjaf8o64@4ax.com> <m3u033br7h.fsf@zeus.integrable-solutions.net> <4511B690.3010806@codesourcery.com> <4516CCFB.8070903@codesourcery.com> <0535BDD0-FEEB-4C4D-823D-2EC7FC9BC2B6@osl.iu.edu> <20060928163525.8f9ac452.bkoz@redhat.com> <45202D43.10503@codesourcery.com> <20061002122100.e13b6bad.bkoz@redhat.com> <4520EBB0.1040903@suse.de>
Paolo Carlini wrote:
Benjamin Kosnik wrote:
So, with that amendment, i.e., with the addition of:
(d) predefine a macro (or macros) that indicates that we're in C++0x
mode
are there objections to the policy set out above? Point (d) doesn't
mean that we can't predefine many macros (for various features) or
that we have to use any particular value; it's just saying that we'll
give users some way of figuring out what dialect of C++ they're using.
Looks good to me.
I only want to restate that the initial issue, variadic templates,
remains unresolved
I agree, and to be 100% clear, I don't mean to preclude debate on that
issue. I think having a policy will be a useful guide, but we can
always decide to make exceptions to it when and as needed.
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713