
・#include <cctype>
・#include <algorithm>
この二つのヘッダーファイル使って以下のような文をかいて文字列か数字かどうかを判定させたかったのですが、コンパイルエラーが出てしまいました。
all_ofの呼び出しに一致する関数がありません
と言われたのですがいったい何のことやらわかりませんでした。
何も問題ない気がするのですが、わかります方いましたら教えてほしいです。
エラー本文
.\strategy.hpp:220:66: error: no matching function for call to 'all_of(std::__cxx11::basic_string<char>::const_iterator, std::__cxx11::basic_string<char>::const_iterator, <unresolved overloaded function type>)'
c++
1if(std::all_of(delete_numbur.cbegin(),delete_numbur.cend(),isdigit)){//文字列が整数であるか判定してくれる 2 cout << "numbur OK" << endl; 3 }

回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
退会済みユーザー
2019/03/23 04:22
2019/03/23 04:56
2019/03/23 16:30
退会済みユーザー
2019/03/26 11:29
2019/03/26 19:30 編集