sfinae_tools.hpp 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /*
  2. * Copyright Andrey Semashev 2016.
  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 sfinae_tools.hpp
  9. * \author Andrey Semashev
  10. * \date 23.02.2016
  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.
  14. */
  15. #ifndef BOOST_LOG_DETAIL_SFINAE_TOOLS_HPP_INCLUDED_
  16. #define BOOST_LOG_DETAIL_SFINAE_TOOLS_HPP_INCLUDED_
  17. #include <boost/log/detail/config.hpp>
  18. #include <boost/core/enable_if.hpp>
  19. #include <boost/log/detail/header.hpp>
  20. #ifdef BOOST_HAS_PRAGMA_ONCE
  21. #pragma once
  22. #endif
  23. namespace boost {
  24. BOOST_LOG_OPEN_NAMESPACE
  25. namespace aux {
  26. //! A distinct type that can be used as a fake argument type in constructors filtered by SFINAE
  27. struct sfinae_dummy {};
  28. } // namespace aux
  29. BOOST_LOG_CLOSE_NAMESPACE // namespace log
  30. } // namespace boost
  31. #include <boost/log/detail/footer.hpp>
  32. #endif // BOOST_LOG_DETAIL_SFINAE_TOOLS_HPP_INCLUDED_