Files
config/test/boost_no_cxx23_hdr_stacktrace.ipp
jzmaddock cbeca533d2 Merge for 1 84 (#490)
* Update cxxstd values for GHA msvc jobs

* Add msvc support for [[maybe_unused]] attribute.
Fixes: https://github.com/boostorg/serialization/issues/271

Also removes failing cuda+clang test as it's an inscrutable system setup issue.

* Add C++23 header macros.

* Minor corrections.

* Remove XCode-9.4 testing as it appears to be no longer supported.

* Update docs for C++23 macros.
[CI SKIP]

* Add C++23 feature test macro support.

* Use __apple_build_version__ to detect Apple clang

…since __APPLE__ is defined by both Apple Clang and LLVM.org Clang
on Apple platforms.

* Update BOOST_CLANG_VERSION for Xcode 14.3, 15.0, 15.1

* Update CI clang version now that gcc has changed. (#489)

---------

Co-authored-by: Peter Dimov <pdimov@gmail.com>
Co-authored-by: Christopher Chavez <chrischavez@gmx.us>
2023-11-04 09:27:38 +00:00

27 lines
666 B
C++

// (C) Copyright John Maddock 2023
// Use, modification and distribution are subject to 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)
// See http://www.boost.org/libs/config for more information.
// MACRO: BOOST_NO_CXX23_HDR_STACKTRACE
// TITLE: C++23 header <stacktrace> unavailable
// DESCRIPTION: The standard library does not supply C++23 header <stacktrace>
#include <stacktrace>
namespace boost_no_cxx23_hdr_stacktrace {
int test()
{
using std::stacktrace_entry;
using std::basic_stacktrace;
using std::stacktrace;
return 0;
}
}