Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:39:29

0001 /*
0002  *          Copyright Andrey Semashev 2007 - 2015.
0003  * Distributed under the Boost Software License, Version 1.0.
0004  *    (See accompanying file LICENSE_1_0.txt or copy at
0005  *          http://www.boost.org/LICENSE_1_0.txt)
0006  */
0007 /*!
0008  * \file   formatting_ostream_fwd.hpp
0009  * \author Andrey Semashev
0010  * \date   11.07.2012
0011  *
0012  * The header contains forward declaration of a string stream used for log record formatting.
0013  */
0014 
0015 #ifndef BOOST_LOG_UTILITY_FORMATTING_OSTREAM_FWD_HPP_INCLUDED_
0016 #define BOOST_LOG_UTILITY_FORMATTING_OSTREAM_FWD_HPP_INCLUDED_
0017 
0018 #include <string>
0019 #include <memory>
0020 #include <boost/log/detail/config.hpp>
0021 
0022 #ifdef BOOST_HAS_PRAGMA_ONCE
0023 #pragma once
0024 #endif
0025 
0026 namespace boost {
0027 
0028 BOOST_LOG_OPEN_NAMESPACE
0029 
0030 /*!
0031  * \brief Stream for log records formatting
0032  */
0033 template<
0034     typename CharT,
0035     typename TraitsT = std::char_traits< CharT >,
0036     typename AllocatorT = std::allocator< CharT >
0037 >
0038 class basic_formatting_ostream;
0039 
0040 #ifdef BOOST_LOG_USE_CHAR
0041 typedef basic_formatting_ostream< char > formatting_ostream;
0042 #endif
0043 #ifdef BOOST_LOG_USE_WCHAR_T
0044 typedef basic_formatting_ostream< wchar_t > wformatting_ostream;
0045 #endif
0046 
0047 BOOST_LOG_CLOSE_NAMESPACE // namespace log
0048 
0049 } // namespace boost
0050 
0051 #endif // BOOST_LOG_UTILITY_FORMATTING_OSTREAM_FWD_HPP_INCLUDED_