Changeset a381b46 for doc/generic_types/evaluation/cpp-vprint.hpp
- Timestamp:
- Apr 15, 2017, 7:09:59 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:
- c57d1935
- Parents:
- 308880c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/generic_types/evaluation/cpp-vprint.hpp
r308880c ra381b46 1 1 #pragma once 2 3 2 #include <ostream> 4 3 #include "object.hpp" … … 6 5 void print(std::ostream& out, const printable& x) { x.print(out); } 7 6 8 template<typename... Args> 9 void print(std::ostream& out, const printable& x, const Args&... rest) { 7 template<typename... Args> void print(std::ostream& out, const printable& x, const Args&... rest) { 10 8 x.print(out); 11 9 print(out, rest...);
Note: See TracChangeset
for help on using the changeset viewer.