singleTon in cpp