In article <223827d8-0481-4c24-b4ac-68268f5e79c1
@[EMAIL PROTECTED]
>, umut.tabak@[EMAIL PROTECTED]
says...
[ ... ]
> back_inserter can be used on a string because it is ok to use
> push_back on string class. To use back_inserter, the container should
> sup****t push_back and strings are also containers with push_back
> member function, right?
Yes and no. std::string _does_ have a push_back member function -- but
it takes a charT, not an std::string<charT, ...> You can add individual
character this way, but not entire strings at a time.
--
Later,
Jerry.
The universe is a figment of its own imagination.


|