]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/log/include/boost/log/expressions/formatters/stream.hpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / log / include / boost / log / expressions / formatters / stream.hpp
CommitLineData
7c673cae
FG
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 stream.hpp
9 * \author Andrey Semashev
10 * \date 24.07.2012
11 *
12 * The header contains implementation of a stream placeholder in template expressions.
13 */
14
15#ifndef BOOST_LOG_EXPRESSIONS_FORMATTERS_STREAM_HPP_INCLUDED_
16#define BOOST_LOG_EXPRESSIONS_FORMATTERS_STREAM_HPP_INCLUDED_
17
18#include <boost/phoenix/core/argument.hpp>
19#include <boost/log/detail/config.hpp>
20#include <boost/log/detail/header.hpp>
21
22#ifdef BOOST_HAS_PRAGMA_ONCE
23#pragma once
24#endif
25
26namespace boost {
27
28BOOST_LOG_OPEN_NAMESPACE
29
30namespace expressions {
31
32/*!
33 * Stream placeholder type in formatter template expressions.
34 */
35typedef phoenix::expression::argument< 2 >::type stream_type;
36
37/*!
38 * Stream placeholder in formatter template expressions.
39 */
40const stream_type stream = {};
41
42} // namespace expressions
43
44BOOST_LOG_CLOSE_NAMESPACE // namespace log
45
46} // namespace boost
47
48#include <boost/log/detail/footer.hpp>
49#if defined(BOOST_LOG_EXPRESSIONS_ATTR_HPP_INCLUDED_)
50#include <boost/log/detail/attr_output_impl.hpp>
51#endif
52
53#endif // BOOST_LOG_EXPRESSIONS_FORMATTERS_STREAM_HPP_INCLUDED_