isn´t even computing begin()+1 undefined when begin()==end()?