nguarracino

Untitled

Jul 23rd, 2015
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. bool isAllDigits (const QString & s) const
  2. {
  3.     return std::all_of (std::begin (s), std::end (s), [](QChar c) {
  4.         return c.isDigit();
  5.     });
  6. }
Advertisement
Add Comment
Please, Sign In to add comment