Teuchos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Teuchos_basic_oblackholestream.hpp
Go to the documentation of this file.
1 // @HEADER
2 // *****************************************************************************
3 // Teuchos: Common Tools Package
4 //
5 // Copyright 2004 NTESS and the Teuchos contributors.
6 // SPDX-License-Identifier: BSD-3-Clause
7 // *****************************************************************************
8 // @HEADER
9 
10 #ifndef TEUCHOS_BASIC_O_BLACK_HOLE_STREAM_H
11 #define TEUCHOS_BASIC_O_BLACK_HOLE_STREAM_H
12 
13 #include "Teuchos_ConfigDefs.hpp"
14 
15 namespace Teuchos {
16 
26 template<typename _CharT, typename _Traits>
28  : virtual public std::basic_ostream<_CharT, _Traits>
29 {
30 public:
32  explicit basic_oblackholestream() : std::basic_ostream<_CharT, _Traits>(NULL) {}
33 }; // end class basic_oblackholestream
34 
35 } // end namespace Teuchos
36 
37 #endif // TEUCHOS_BASIC_O_BLACK_HOLE_STREAM_H
basic_ostream&lt;&gt; subclass that does nothing but discard output.
Teuchos header file which uses auto-configuration information to include necessary C++ headers...