utilities  0.0
iostream.h
Go to the documentation of this file.
1 #ifndef MOLPRO_IOSTREAM_H_
2 #define MOLPRO_IOSTREAM_H_
3 #include <iostream>
4 
5 #ifdef EXTERN_OSTREAM_COUT
6 #ifndef EXTERN_OSTREAM_COUT_DEF
7 extern std::ostream& EXTERN_OSTREAM_COUT;
8 #define EXTERN_OSTREAM_COUT_DEF 1
9 #endif
10 namespace molpro {
11 static auto& cout = EXTERN_OSTREAM_COUT;
12 }
13 #else
14 namespace molpro {
20 static auto& cout = std::cout;
21 } // namespace molpro
22 #endif
23 
24 #ifdef EXTERN_OSTREAM_CERR
25 extern std::ostream& EXTERN_OSTREAM_CERR;
26 namespace molpro {
27 static auto& cerr = EXTERN_OSTREAM_CERR;
28 }
29 #else
30 namespace molpro {
31 static auto& cerr = std::cerr;
32 }
33 #endif
34 
35 #endif // MOLPRO_IOSTREAM_H_
Class that manages input options.
Definition: iostream.h:14