c++reference confirms what you say. will probably implement you version tomorrow.