I hereby claim:
- I am mikle-bond on github.
- I am mikle_bond (https://keybase.io/mikle_bond) on keybase.
- I have a public key ASBQ6aBwy-C3Jt0TfxNYlSKycHaCKwJkgaITyluB8Ja17Qo
To claim this, I am signing this object:
main.cpp: In function 'int main()': | |
main.cpp:10:58: error: no matching function for call to 'for_each_n(std::vector<int>::iterator, int, main()::<lambda(auto:1&)>)' | |
10 | std::for_each_n(ns.begin(), 3, [](auto& n){ n *= 2; }); | |
| ^ | |
In file included from /usr/local/include/c++/9.2.0/algorithm:71, | |
from main.cpp:1: | |
/usr/local/include/c++/9.2.0/pstl/glue_algorithm_defs.h:46:1: note: candidate: 'template<class _ExecutionPolicy, class _ForwardIterator, class _Size, class _Function> __pstl::__internal::__enable_if_execution_policy<_ExecutionPolicy, _ForwardIterator> std::for_each_n(_ExecutionPolicy&&, _ForwardIterator, _Size, _Function)' | |
46 | for_each_n(_ExecutionPolicy&& __exec, _ForwardIterator __first, _Size __n, _Function __f); | |
| ^~~~~~~~~~ | |
/usr/local/include/c++/9.2.0/pstl/glue_algorithm_defs.h:46:1: note: template argument deduction/substitution failed: |
I hereby claim:
To claim this, I am signing this object: