This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [patch][libstdc++ patch][c++ patch] Update mangling and demangling for rvalue references
On Fri, 2007-06-29 at 21:20 -0700, Ian Lance Taylor wrote:
> "Doug Gregor" <doug.gregor@gmail.com> writes:
>
> > On 29 Jun 2007 17:16:38 -0700, Ian Lance Taylor <iant@google.com> wrote:
> > > Please put this up just after DEMANGLE_COMPONENT_REFERENCE.
> >
> > I can do that. My understanding was that include/demangle.h was a
> > public interface, so I planned to put the new enumerator values at the
> > bottom to keep the existing values the same.
> >
> > If that doesn't mater, it's cleaner to put it under
> > DEMANGLE_COMPONENT_REFERENCE, of course.
>
> It is a public interface, but I don't see why the specific existing
> values of the enumerators should matter.
Keeping the ABI backward-compatible? If we just tack on the C++0x
interface enumerators at the end, code compiled against older versions
of the demangler will still continue to work so long as they only try to
work with C++98 constructs. It's weak backward compatibility, but it
might be useful.
- Doug