My Project
ParenPrinter.h
Go to the documentation of this file.
1#ifndef __cxxtest__ParenPrinter_h__
2#define __cxxtest__ParenPrinter_h__
3
4//
5// The ParenPrinter is identical to the ErrorPrinter, except it
6// prints the line number in a format expected by some compilers
7// (notably, MSVC).
8//
9
11
12namespace CxxTest
13{
15 {
16 public:
17 ParenPrinter( CXXTEST_STD(ostream) &o = CXXTEST_STD(cout) ) : ErrorPrinter( o, "(", ")" ) {}
18 };
19}
20
21#endif // __cxxtest__ParenPrinter_h__
#define CXXTEST_STD(x)
ParenPrinter(CXXTEST_STD(ostream) &o=CXXTEST_STD(cout))
Definition: ParenPrinter.h:17