ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change
on this file since 96ac72c was
f4e3419d,
checked in by Peter A. Buhr <pabuhr@…>, 7 years ago
|
restructure paper documents
|
-
Property mode set to
100644
|
File size:
263 bytes
|
Line | |
---|
1 | #pragma once |
---|
2 | #include <ostream> |
---|
3 | #include "object.hpp" |
---|
4 | |
---|
5 | void print(std::ostream& out, const printable& x) { x.print(out); } |
---|
6 | |
---|
7 | template<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.