forked from boostorg/throw_exception
Define boost::wrapexcept when BOOST_NO_EXCEPTIONS is defined, to enable boost::make_exception_ptr
This commit is contained in:
17
test/throw_exception_nx_test3.cpp
Normal file
17
test/throw_exception_nx_test3.cpp
Normal file
@ -0,0 +1,17 @@
|
||||
// Copyright 2020 Peter Dimov
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// http://www.boost.org/LICENSE_1_0.txt
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
# pragma warning(disable: 4702) // unreachable code
|
||||
# pragma warning(disable: 4577) // noexcept used without /EHsc
|
||||
#endif
|
||||
|
||||
// Make sure that simple inclusion does not
|
||||
// require boost::throw_exception to be defined
|
||||
|
||||
#include <boost/throw_exception.hpp>
|
||||
|
||||
int main()
|
||||
{
|
||||
}
|
Reference in New Issue
Block a user