Test c++ featrue.