Exemplo n.º 1
0
void BP::escrever(ostream & out) {
    BP temp = *this;
    while (!temp.empty()) {
        cout << temp.front() << endl;
        temp.pop();
    }
}