Fixed #4637: Add predefined value indication in cpp