来源:https://stackoverflow.com/questions/64127498/automatic-conversion-from-derived-class-to-base-class-member-variables-type 标签 c++ type-conversion implicit-conversion derived-class std-pair