mirror of
https://github.com/boostorg/config.git
synced 2026-07-21 13:13:36 +00:00
cbeca533d2
* 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>
32 lines
796 B
C++
32 lines
796 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_FLAT_SET
|
|
// TITLE: C++23 header <flat_set> unavailable
|
|
// DESCRIPTION: The standard library does not supply C++23 header <flat_set>
|
|
|
|
#include <flat_set>
|
|
|
|
namespace boost_no_cxx23_hdr_flat_set {
|
|
|
|
int test()
|
|
{
|
|
using std::flat_set;
|
|
using std::sorted_unique_t;
|
|
using std::sorted_unique;
|
|
using std::erase_if;
|
|
using std::uses_allocator;
|
|
using std::flat_multiset;
|
|
using std::sorted_equivalent_t;
|
|
using std::sorted_equivalent;
|
|
|
|
return 0;
|
|
}
|
|
|
|
}
|