Back to home page

EIC code displayed by LXR

 
 

    


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

0001 /*
0002  *             Copyright Andrey Semashev 2016.
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   sfinae_tools.hpp
0009  * \author Andrey Semashev
0010  * \date   23.02.2016
0011  *
0012  * \brief  This header is the Boost.Log library implementation, see the library documentation
0013  *         at http://www.boost.org/doc/libs/release/libs/log/doc/html/index.html.
0014  */
0015 
0016 #ifndef BOOST_LOG_DETAIL_SFINAE_TOOLS_HPP_INCLUDED_
0017 #define BOOST_LOG_DETAIL_SFINAE_TOOLS_HPP_INCLUDED_
0018 
0019 #include <boost/log/detail/config.hpp>
0020 #include <boost/core/enable_if.hpp>
0021 #include <boost/log/detail/header.hpp>
0022 
0023 #ifdef BOOST_HAS_PRAGMA_ONCE
0024 #pragma once
0025 #endif
0026 
0027 namespace boost {
0028 
0029 BOOST_LOG_OPEN_NAMESPACE
0030 
0031 namespace aux {
0032 
0033 //! A distinct type that can be used as a fake argument type in constructors filtered by SFINAE
0034 struct sfinae_dummy {};
0035 
0036 } // namespace aux
0037 
0038 BOOST_LOG_CLOSE_NAMESPACE // namespace log
0039 
0040 } // namespace boost
0041 
0042 #include <boost/log/detail/footer.hpp>
0043 
0044 #endif // BOOST_LOG_DETAIL_SFINAE_TOOLS_HPP_INCLUDED_