Changeset c87cd93 for doc/generic_types/evaluation/cpp-print.hpp
- Timestamp:
- Apr 17, 2017, 3:47:07 PM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 4ae83a4b
- Parents:
- 33e22da
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/generic_types/evaluation/cpp-print.hpp
r33e22da 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.