#include <vector>
#include <algorithm>

int main()
{
    std::vector<int> v1, v2;
    typedef decltype(v1) t1;
	std::for_each(v1.begin(), v1.end(), [&](const t1::value_type& a1)
	{
		typedef decltype(v2) t2;
		std::for_each(v2.begin(), v2.end(), [&](const t2::value_type a2)
		{
			
		});
	});
}