Blame view

3rdparty/boost_1_81_0/boost/hof/detail/noexcept.hpp 637 Bytes
63e88f80   Hu Chunming   提交三方库
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
  /*=============================================================================
      Copyright (c) 2016 Paul Fultz II
      noexcept.hpp
      Distributed under the Boost Software License, Version 1.0. (See accompanying
      file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  ==============================================================================*/
  
  #ifndef BOOST_HOF_GUARD_DETAIL_NOEXCEPT_HPP
  #define BOOST_HOF_GUARD_DETAIL_NOEXCEPT_HPP
  
  #include <boost/hof/config.hpp>
  
  #if BOOST_HOF_HAS_NOEXCEPT_DEDUCTION
  #define BOOST_HOF_NOEXCEPT(...) noexcept(__VA_ARGS__)
  #else
  #define BOOST_HOF_NOEXCEPT(...)
  #endif
  
  #endif