diff options
author | Erik Schnetter <schnetter@cct.lsu.edu> | 2007-02-03 18:54:00 +0000 |
---|---|---|
committer | Erik Schnetter <schnetter@cct.lsu.edu> | 2007-02-03 18:54:00 +0000 |
commit | 3046f9acd4a16df5450f45b2e43e1395bed42ad1 (patch) | |
tree | 40cfe1ae2e1fde68619c00a4582f56e6c24fdad8 /Carpet/CarpetLib/src/defs.hh | |
parent | 0571dc0453df11d6ec4ecabe91d7435bca018e81 (diff) |
CarpetLib: Define constant eol
Define a constant eol containing a newline character. Unlike endl, it
does not flush the I/O stream.
darcs-hash:20070203185434-dae7b-1f057e593cc45b3d5cf1b067b247b6de071230da.gz
Diffstat (limited to 'Carpet/CarpetLib/src/defs.hh')
-rw-r--r-- | Carpet/CarpetLib/src/defs.hh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Carpet/CarpetLib/src/defs.hh b/Carpet/CarpetLib/src/defs.hh index 7ca919866..3ae0b8261 100644 --- a/Carpet/CarpetLib/src/defs.hh +++ b/Carpet/CarpetLib/src/defs.hh @@ -36,6 +36,11 @@ using namespace std; +// Begin a new line without flushing the output buffer +char const * const eol = "\n"; + + + // Number of dimensions const int dim = 3; |