Hi Kornel, Kornel Benko wrote:
> -----BEGIN PGP SIGNED MESSAGE----- > > On Samstag, 1. März 2003 13:34, Alfredo Braunstein wrote: >> As std::queue doesn't have a push_back() method, >> >> std::queue<int> q; >> std::copy(s.begin(), s.end(), back_inserter(q)); >> >> This doesn't work. >> >> Is there a std:: adaptor to call q.push()? > > No problems with q.push() here. No, my question is if there is a std:: insert adaptor that calls q.push() (back_inserter calls push_back(), which doesn't exist on std::queue) Thanks, Alfredo