51 lines
1.3 KiB
C++
51 lines
1.3 KiB
C++
/*
|
|
* Distributed under the Boost Software License, Version 1.0.
|
|
* (See accompanying file LICENSE_1_0.txt or copy at
|
|
* https://www.boost.org/LICENSE_1_0.txt)
|
|
*
|
|
* Copyright (c) 2023 Andrey Semashev
|
|
*/
|
|
/*!
|
|
* \file scope/detail/config.hpp
|
|
*
|
|
* This header contains Boost.Scope common configuration.
|
|
*/
|
|
|
|
#ifndef BOOST_SCOPE_DETAIL_CONFIG_HPP_INCLUDED_
|
|
#define BOOST_SCOPE_DETAIL_CONFIG_HPP_INCLUDED_
|
|
|
|
#include <boost/config.hpp>
|
|
#include <boost/scope/detail/header.hpp>
|
|
|
|
#ifdef BOOST_HAS_PRAGMA_ONCE
|
|
#pragma once
|
|
#endif
|
|
|
|
#if !(defined(__cpp_noexcept_function_type) && __cpp_noexcept_function_type >= 201510l) && !defined(_NOEXCEPT_TYPES_SUPPORTED)
|
|
#define BOOST_SCOPE_NO_CXX17_NOEXCEPT_FUNCTION_TYPES
|
|
#endif
|
|
|
|
#if !defined(BOOST_SCOPE_DETAIL_DOC_ALT)
|
|
#if !defined(BOOST_SCOPE_DOXYGEN)
|
|
#define BOOST_SCOPE_DETAIL_DOC_ALT(alt, ...) __VA_ARGS__
|
|
#else
|
|
#define BOOST_SCOPE_DETAIL_DOC_ALT(alt, ...) alt
|
|
#endif
|
|
#endif
|
|
|
|
#if !defined(BOOST_SCOPE_DETAIL_DOC_HIDDEN)
|
|
#define BOOST_SCOPE_DETAIL_DOC_HIDDEN(...) BOOST_SCOPE_DETAIL_DOC_ALT(..., __VA_ARGS__)
|
|
#endif
|
|
|
|
#if !defined(BOOST_SCOPE_DETAIL_DOC)
|
|
#if !defined(BOOST_SCOPE_DOXYGEN)
|
|
#define BOOST_SCOPE_DETAIL_DOC(...)
|
|
#else
|
|
#define BOOST_SCOPE_DETAIL_DOC(...) __VA_ARGS__
|
|
#endif
|
|
#endif
|
|
|
|
#include <boost/scope/detail/footer.hpp>
|
|
|
|
#endif // BOOST_SCOPE_DETAIL_CONFIG_HPP_INCLUDED_
|