【初心者歓迎】C/C++室 Ver.67【環境依存OK】

このエントリーをはてなブックマークに追加
912デフォルトの名無しさん
ああすまん、enable_ifのとこにtypename忘れてた

void set(enable_if<is_floating_point<T>,T>::type x){float_=x;}

void set(typename enable_if<is_floating_point<T>,T>::type x){float_=x;}

こんな感じに直せ