- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/generic_types/evaluation/cpp-print.hpp
ra381b46 rc87cd93 2 2 #include <iomanip> 3 3 #include <iostream> 4 #include <utility>4 #include "cpp-pair.hpp" 5 5 6 6 template<typename T> void print(std::ostream& out, const T& x) { out << x; } … … 14 14 15 15 template<typename R, typename S> 16 std::ostream& operator<< (std::ostream& out, const std::pair<R, S>& x) {16 std::ostream& operator<< (std::ostream& out, const pair<R, S>& x) { 17 17 out << "["; 18 18 print(out, x.first);
Note: See TracChangeset
for help on using the changeset viewer.