Back to home page

EIC code displayed by LXR

 
 

    


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

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   record.hpp
0009  * \author Andrey Semashev
0010  * \date   25.07.2012
0011  *
0012  * The header contains implementation of a log record placeholder in template expressions.
0013  */
0014 
0015 #ifndef BOOST_LOG_EXPRESSIONS_RECORD_HPP_INCLUDED_
0016 #define BOOST_LOG_EXPRESSIONS_RECORD_HPP_INCLUDED_
0017 
0018 #include <boost/phoenix/core/argument.hpp>
0019 #include <boost/log/detail/config.hpp>
0020 #include <boost/log/detail/header.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 namespace expressions {
0031 
0032 /*!
0033  * Log record placeholder type in formatter template expressions.
0034  */
0035 typedef phoenix::expression::argument< 1 >::type record_type;
0036 
0037 /*!
0038  * Log record placeholder in formatter template expressions.
0039  */
0040 BOOST_INLINE_VARIABLE const record_type record = {};
0041 
0042 } // namespace expressions
0043 
0044 BOOST_LOG_CLOSE_NAMESPACE // namespace log
0045 
0046 } // namespace boost
0047 
0048 #include <boost/log/detail/footer.hpp>
0049 
0050 #endif // BOOST_LOG_EXPRESSIONS_RECORD_HPP_INCLUDED_