source: doc/papers/OOPSLA17/evaluation/cpp-vprint.hpp @ b2052f7

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change on this file since b2052f7 was f4e3419d, checked in by Peter A. Buhr <pabuhr@…>, 6 years ago

restructure paper documents

  • Property mode set to 100644
File size: 263 bytes
RevLine 
[0d10090]1#pragma once
2#include <ostream>
3#include "object.hpp"
4
5void print(std::ostream& out, const printable& x) { x.print(out); }
6
[a381b46]7template<typename... Args> void print(std::ostream& out, const printable& x, const Args&... rest) {
[0d10090]8        x.print(out);
9        print(out, rest...);
10}
Note: See TracBrowser for help on using the repository browser.