write some code when i read the boost source code