prog.cpp: In function 'void foo(T, T) [with T = std::vector<int>]':
prog.cpp:9:71: instantiated from here
prog.cpp:5:34: error: no match for 'operator+' in 't1 + t2'
/usr/lib/gcc/i686-pc-linux-gnu/4.5.1/../../../../include/c++/4.5.1/bits/stl_bvector.h:350:3: note: candidates are: std::_Bit_const_iterator std::operator+(ptrdiff_t, const std::_Bit_const_iterator&)
/usr/lib/gcc/i686-pc-linux-gnu/4.5.1/../../../../include/c++/4.5.1/bits/stl_bvector.h:264:3: note: std::_Bit_iterator std::operator+(ptrdiff_t, const std::_Bit_iterator&)