Added decltype to rc.cup