std::io: Update doc examples