Skip to content

Instantly share code, notes, and snippets.

@Bigpet
Created April 17, 2014 13:08
Show Gist options
  • Save Bigpet/10982063 to your computer and use it in GitHub Desktop.
Save Bigpet/10982063 to your computer and use it in GitHub Desktop.
test2.cpp:9:10: error: no matching function for call to 'all_of'
cout << all_of(foo.begin(), foo.end(), isdigit);
^~~~~~
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/stl_algo.h:729:5: note:
candidate template ignored: couldn't infer template argument '_Predicate'
all_of(_InputIterator __first, _InputIterator __last, _Predicate __pred)
^
1 error generated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment