#include<iostream>
#include<deque>
using std::string;
using std::deque;
class Dummy {
public:
virtual ~Dummy(){}
Dummy():ID_("00") {}
Dummy& operator=(const Dummy&) { /* do nothing */ }
private:
const string ID_;
};
int main(){
{
deque <Dummy> waiter;
waiter.push_back(Dummy());
waiter.erase( waiter.begin() );
}
return 0;
}
I2luY2x1ZGU8aW9zdHJlYW0+CiNpbmNsdWRlPGRlcXVlPgoKdXNpbmcgc3RkOjpzdHJpbmc7CnVzaW5nIHN0ZDo6ZGVxdWU7CgpjbGFzcyBEdW1teSB7CnB1YmxpYzoKICAgIHZpcnR1YWwgfkR1bW15KCl7fQogICAgRHVtbXkoKTpJRF8oIjAwIikge30KICAgIER1bW15JiBvcGVyYXRvcj0oY29uc3QgRHVtbXkmKSB7IC8qIGRvIG5vdGhpbmcgKi8gfQpwcml2YXRlOgoKICAgIGNvbnN0IHN0cmluZyBJRF87Cn07CgppbnQgbWFpbigpewogICAgewogICAgZGVxdWUgPER1bW15PiB3YWl0ZXI7CiAgICB3YWl0ZXIucHVzaF9iYWNrKER1bW15KCkpOwogICAgd2FpdGVyLmVyYXNlKCB3YWl0ZXIuYmVnaW4oKSApOwogICAgfQogICAgcmV0dXJuIDA7Cn0=