mirror of
https://github.com/boostorg/config.git
synced 2025-10-09 06:01:12 +02:00
28 lines
701 B
C++
28 lines
701 B
C++
// (C) Copyright John Maddock 2021
|
|
|
|
// 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_CXX20_HDR_SPAN
|
|
// TITLE: C++20 <span> header is either not present or too broken to be used
|
|
// DESCRIPTION: The compiler does not support the C++20 header <span>
|
|
|
|
#include <span>
|
|
|
|
namespace boost_no_cxx20_hdr_span {
|
|
|
|
using std::span;
|
|
using std::dynamic_extent;
|
|
using std::as_bytes;
|
|
using std::as_writable_bytes;
|
|
|
|
int test()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
}
|