标签: c++ c++11
覆盖是非常有用的关键字。但是,只能在类声明中使用它。是否有理由禁止在定义中使用它?例如:
@meq price!(tp in secProducts, r in fr2) = sum(price_(r,pp,"",y2)*a_(r,pp,tp,y2) for pp in priProducts) + margin_(r,tp,"",y2)