#include <vector>
#include <boost/unordered_map.hpp>

template <typename Container>
struct container_hash {
    std::size_t operator()(Container const& c) const {
            return boost::hash_range(c.begin(), c.end());
                }
                };

int main()
{
    boost::unordered_map <std::vector <int>, int, container_hash <std::vector <int> > > foo;
    return 0;  
}
 
