source: doc/papers/general/evaluation/cpp-vprint.hpp@ 85b1deb

ADT aaron-thesis arm-eh ast-experimental cleanup-dtors deferred_resn demangler enum forall-pointer-decay jacob/cs343-translation jenkins-sandbox new-ast new-ast-unique-expr new-env no_list persistent-indexer pthread-emulation qualifiedEnum with_gc
Last change on this file since 85b1deb was 604e76d, checked in by Peter A. Buhr <pabuhr@…>, 8 years ago

initial setup for general and concurrency papers

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