]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/log/include/boost/log/utility/formatting_ostream_fwd.hpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / log / include / boost / log / utility / formatting_ostream_fwd.hpp
1 /*
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)
6 */
7 /*!
8 * \file formatting_ostream_fwd.hpp
9 * \author Andrey Semashev
10 * \date 11.07.2012
11 *
12 * The header contains forward declaration of a string stream used for log record formatting.
13 */
14
15 #ifndef BOOST_LOG_UTILITY_FORMATTING_OSTREAM_FWD_HPP_INCLUDED_
16 #define BOOST_LOG_UTILITY_FORMATTING_OSTREAM_FWD_HPP_INCLUDED_
17
18 #include <string>
19 #include <memory>
20 #include <boost/log/detail/config.hpp>
21
22 #ifdef BOOST_HAS_PRAGMA_ONCE
23 #pragma once
24 #endif
25
26 namespace boost {
27
28 BOOST_LOG_OPEN_NAMESPACE
29
30 /*!
31 * \brief Stream for log records formatting
32 */
33 template<
34 typename CharT,
35 typename TraitsT = std::char_traits< CharT >,
36 typename AllocatorT = std::allocator< CharT >
37 >
38 class basic_formatting_ostream;
39
40 #ifdef BOOST_LOG_USE_CHAR
41 typedef basic_formatting_ostream< char > formatting_ostream;
42 #endif
43 #ifdef BOOST_LOG_USE_WCHAR_T
44 typedef basic_formatting_ostream< wchar_t > wformatting_ostream;
45 #endif
46
47 BOOST_LOG_CLOSE_NAMESPACE // namespace log
48
49 } // namespace boost
50
51 #endif // BOOST_LOG_UTILITY_FORMATTING_OSTREAM_FWD_HPP_INCLUDED_