Salve,
Se ho una cosa del genere:
std::map<IPvXAddress, map<bool,set<IPvXAddress> > > NeighNeighMap;
std::map<IPvXAddress, map<bool,set<IPvXAddress> > >::iterator it1;
come posso accedere ai membri del set?
va bene it1->second-second?
l'errore in fase di compilazione è:
error: base operand of ‘->’ has non-pointer type ‘std::map<bool, std::set<IPvXAddress, std::less<IPvXAddress>, std::allocator<IPvXAddress> >, std::less<bool>, std::allocator<std:air<const bool, std::set<IPvXAddress, std::less<IPvXAddress>, std::allocator<IPvXAddress> > > > >’
consigli?