tags:

views:

163

answers:

2
+6  A: 

Either you forgot to #include the right headers or didn't import the std namespace. I suggest the following:

#include <map>
#include <vector>

std::map<unsigned short, std::vector<struct dv_nexthop_cost_pair> > dv;
Marcelo Cantos
Yup... I forgot the includes. Sorry, C++ newb here. Thanks!
garsh0p
A: 

use typedef

typedef std::map<unsigned short, std::vector<struct dv_nexthop_cost_pair> > dvnexthopemap;
dvnexthopemap db;
Mayank