#include <vector>
#include <map>
#include <iostream>
Go to the source code of this file.
|
template<typename T > |
std::ostream & | operator<< (std::ostream &o, const std::vector< std::vector< std::pair< T, T > > > v) |
|
template<typename T >
std::ostream& operator<< |
( |
std::ostream & |
o, |
|
|
const std::vector< std::vector< std::pair< T, T > > > |
v |
|
) |
| |
Definition at line 451 of file adjgraph.h.
References connectstrParser::o, and v.
453 typedef typename std::vector<std::vector<std::pair<T,T> > > v_t;
454 typedef typename std::vector<std::pair<T,T> > i_t;
456 typename v_t::const_iterator it(
v.begin()), ed(
v.end());
457 for (; it != ed; ++it) {
458 typename i_t::const_iterator iit(it->begin()), ied(it->end());
459 for(; iit != ied; ++iit) {
460 o << iit->first <<
':' << iit->second << std::endl;