fork download
  1. #include <vector>
  2. #include <algorithm>
  3.  
  4. int main()
  5. {
  6. std::vector<int> v1, v2;
  7. typedef decltype(v1) t1;
  8. std::for_each(v1.begin(), v1.end(), [&](const t1::value_type& a1)
  9. {
  10. typedef decltype(v2) t2;
  11. std::for_each(v2.begin(), v2.end(), [&](const t2::value_type a2)
  12. {
  13.  
  14. });
  15. });
  16. }
Success #stdin #stdout 0s 3336KB
stdin
Standard input is empty
stdout
Standard output is empty