Ying Xiong's cpp utilities.