C++ std::queue members

mark@codesourcery.com mark@codesourcery.com
Wed Jun 30 23:15:00 GMT 1999


>>>>> "Martin" == Martin v Loewis <martin@mira.isdn.cs.tu-berlin.de> writes:

    >> What's the status of this patch?  As I recall, Ulrich didn't
    >> like it because it put a data member in the user namespace
    >> (i.e., named in `c' instead of `_M_c'.)  But, if I recall
    >> correctly, Jason said that it was required to have the name `c'
    >> by the standard.

    Martin> Jason is right, see 23.2.3.1, [lib.queue]/1. I believe
    Martin> this member name is normative; according to 17.3.2.3,
    Martin> [lib.objects.within.classes]/1, members not intended to be
    Martin> normative are not listed.

I agree.   And, current libstdc++ CVS has this change.

Put this patch should in, on the mainline and the branch. 

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com



More information about the Gcc-patches mailing list