Since our current target compilers are VS10 and gcc 4.6, we can use the C++11 std::to_string instead. Or should be able to, I will test this today. 
 
EDIT: apparently VS10 has implemented std::to_string in a stupid method making it rather impractical to use : | 
		
	
		
		
		
		
		
		
		
		
		
	
		
		
	
	
	 |