Topic: push_back in basic_string class in Standard
Author: "Thomas T. Veldhouse" <veldy@visi.com>
Date: 1998/09/30 Raw View
I would suspect that it will work the same as concatenating a character at
the end of the basic string. Much like +=.
It probably has the same meaning as all other STL containers which use
push_back().
Robert Davies wrote in message <360c3248.68868217@news.netlink.co.nz>...
>The standard (the pdf version downloaded from ANSI) defines a
>function "void push_back(const charT)" for the basic_string
>class on page 385, but doesn't say what it does either on page
>393 where you would expect to find the explanation or anywhere
>else.
>
>Is it intended to be in the standard (with the same actions
>as push_back in the container classes) or is this a misprint?
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html ]
Author: robertd@deletethis.netlink.co.nz (Robert Davies)
Date: 1998/09/27 Raw View
The standard (the pdf version downloaded from ANSI) defines a
function "void push_back(const charT)" for the basic_string
class on page 385, but doesn't say what it does either on page
393 where you would expect to find the explanation or anywhere
else.
Is it intended to be in the standard (with the same actions
as push_back in the container classes) or is this a misprint?
Robert
---
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html ]