evented I/O for C++0x