2 * Copyright Andrey Semashev 2007 - 2015.
3 * Distributed under the Boost Software License, Version 1.0.
4 * (See accompanying file LICENSE_1_0.txt or copy at
5 * http://www.boost.org/LICENSE_1_0.txt)
8 * \file formatting_ostream_fwd.hpp
9 * \author Andrey Semashev
12 * The header contains forward declaration of a string stream used for log record formatting.
15 #ifndef BOOST_LOG_UTILITY_FORMATTING_OSTREAM_FWD_HPP_INCLUDED_
16 #define BOOST_LOG_UTILITY_FORMATTING_OSTREAM_FWD_HPP_INCLUDED_
20 #include <boost/log/detail/config.hpp>
22 #ifdef BOOST_HAS_PRAGMA_ONCE
28 BOOST_LOG_OPEN_NAMESPACE
31 * \brief Stream for log records formatting
35 typename TraitsT = std::char_traits< CharT >,
36 typename AllocatorT = std::allocator< CharT >
38 class basic_formatting_ostream;
40 #ifdef BOOST_LOG_USE_CHAR
41 typedef basic_formatting_ostream< char > formatting_ostream;
43 #ifdef BOOST_LOG_USE_WCHAR_T
44 typedef basic_formatting_ostream< wchar_t > wformatting_ostream;
47 BOOST_LOG_CLOSE_NAMESPACE // namespace log
51 #endif // BOOST_LOG_UTILITY_FORMATTING_OSTREAM_FWD_HPP_INCLUDED_