Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- template <class T>
- class WeightedGraph {
- public:
- friend std::ostream& operator<<(std::ostream& out,
- const WeightedGraph<T>& g);
- ...
- };
- template <class T>
- std::ostream& operator<<(std::ostream& out, const WeightedGraph<T>& g) {
- ...
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement