The member function of derived class will hide the member function of base class if they have the same function name with different signature, not overloading. If you want to use overloading, declare “using base class::mf;”
http://publib.boulder.ibm.com/infocenter/systems/index.jsp?topic=/com.ibm.xlcpp9.cell.doc/language_ref/overload_member_fn_base_derived.htm
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment