Imported Upstream version 1.57.0
[platform/upstream/boost.git] / boost / log / detail / visible_type.hpp
1 /*
2  *          Copyright Andrey Semashev 2007 - 2014.
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   visible_type.hpp
9  * \author Andrey Semashev
10  * \date   08.03.2007
11  *
12  * \brief  This header is the Boost.Log library implementation, see the library documentation
13  *         at http://www.boost.org/doc/libs/release/libs/log/doc/html/index.html. In this file
14  *         internal configuration macros are defined.
15  */
16
17 #ifndef BOOST_LOG_DETAIL_VISIBLE_TYPE_HPP_INCLUDED_
18 #define BOOST_LOG_DETAIL_VISIBLE_TYPE_HPP_INCLUDED_
19
20 #include <boost/log/detail/config.hpp>
21 #include <boost/log/detail/header.hpp>
22
23 #ifdef BOOST_HAS_PRAGMA_ONCE
24 #pragma once
25 #endif
26
27 namespace boost {
28
29 BOOST_LOG_OPEN_NAMESPACE
30
31 namespace aux {
32
33 //! The wrapper type whose type_info is always visible
34 template< typename T >
35 struct BOOST_SYMBOL_VISIBLE visible_type
36 {
37     typedef T wrapped_type;
38 };
39
40 } // namespace aux
41
42 BOOST_LOG_CLOSE_NAMESPACE // namespace log
43
44 } // namespace boost
45
46 #include <boost/log/detail/footer.hpp>
47
48 #endif // BOOST_LOG_DETAIL_VISIBLE_TYPE_HPP_INCLUDED_