ssercpp12 / Homework

Homework result for 12 sser cpp
1 stars 8 forks source link

about homework 4: functions in class Value #16

Open yizhikong opened 11 years ago

yizhikong commented 11 years ago

Do we need to write the virtual functions GetAsBoolean,GetAsInteger,GetAsDouble and GetAsString in the class Value?? They have been written in class FundamentalValue and class StringValue. If I don't write anything in {}, they would not return anything so there are 4 warnings.

ssercpp12 commented 11 years ago

You should implement it just return false in the class Value.

yizhikong commented 11 years ago

Oh thanks~~