class MyVectorInt
{
public:
struct Iterator
{
int operator*() const;
void operator++();
void operator++(int);
bool operator == (const Iterator&) const;
bool operator != (const Iterator&) const;
};
Iterator begin() const;
Iterator end() const;
};
int main()
{
for (auto&& e : MyVectorInt())
{
int&& rr = e;
}
}
Y2xhc3MgTXlWZWN0b3JJbnQKewpwdWJsaWM6CQogIAogICBzdHJ1Y3QgSXRlcmF0b3IKICAgewogICAJICBpbnQgb3BlcmF0b3IqKCkgY29uc3Q7CiAgIAkgIHZvaWQgb3BlcmF0b3IrKygpOwogICAJICB2b2lkIG9wZXJhdG9yKysoaW50KTsKICAgCSAgYm9vbCBvcGVyYXRvciA9PSAoY29uc3QgSXRlcmF0b3ImKSBjb25zdDsKICAgCSAgYm9vbCBvcGVyYXRvciAhPSAoY29uc3QgSXRlcmF0b3ImKSBjb25zdDsKICAgfTsKCgogICBJdGVyYXRvciBiZWdpbigpIGNvbnN0OwogICBJdGVyYXRvciBlbmQoKSBjb25zdDsKfTsKCmludCBtYWluKCkKewoJZm9yIChhdXRvJiYgZSA6IE15VmVjdG9ySW50KCkpCgl7CiAgICAgICBpbnQmJiByciA9IGU7Cgl9Cn0=