Why this doesn´t work!!!

Hi everyone,
could anyone tell my why is tht this codeline does not work??
given Arco as template<typename Arco>

map< vector< int >, Arco >::iterator iter;


thanks in advance,
Daniel González
std::vector doesn't have an overloaded operator<() and you're not providing a replacement functor.
It doesn't make much sense to me. Why would you want an entire array as the key? How do you determine if one array is less than another? Is the typedef backwards?
Topic archived. No new replies allowed.