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()?

Thanks, 
        Alfredo


Reply via email to