returns.hpp 400 B

12345678910
  1. #ifndef BOOST_COMPAT_DETAIL_RETURNS_HPP_INCLUDED
  2. #define BOOST_COMPAT_DETAIL_RETURNS_HPP_INCLUDED
  3. // Copyright 2024 Peter Dimov
  4. // Distributed under the Boost Software License, Version 1.0.
  5. // https://www.boost.org/LICENSE_1_0.txt
  6. #define BOOST_COMPAT_RETURNS(...) noexcept(noexcept(__VA_ARGS__)) -> decltype(__VA_ARGS__) { return __VA_ARGS__; }
  7. #endif // BOOST_COMPAT_DETAIL_RETURNS_HPP_INCLUDED