1169695Skan// -*- C++ -*- 2169695Skan//===---------------------------------------------------------------------===// 3169695Skan// 4169695Skan// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 5169695Skan// See https://llvm.org/LICENSE.txt for license information. 6169695Skan// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7169695Skan// 8169695Skan//===---------------------------------------------------------------------===// 9169695Skan 10169695Skan#ifndef _LIBCPP___FWD_SPAN_H 11169695Skan#define _LIBCPP___FWD_SPAN_H 12169695Skan 13169695Skan#include <__config> 14169695Skan#include <cstddef> 15169695Skan#include <limits> 16169695Skan 17169695Skan#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) 18169695Skan# pragma GCC system_header 19169695Skan#endif 20169695Skan 21169695Skan_LIBCPP_PUSH_MACROS 22169695Skan#include <__undef_macros> 23169695Skan 24169695Skan_LIBCPP_BEGIN_NAMESPACE_STD 25169695Skan 26169695Skan#if _LIBCPP_STD_VER > 17 27169695Skan 28169695Skaninline constexpr size_t dynamic_extent = numeric_limits<size_t>::max(); 29169695Skantemplate <typename _Tp, size_t _Extent = dynamic_extent> class span; 30169695Skan 31169695Skan#endif 32169695Skan 33169695Skan_LIBCPP_END_NAMESPACE_STD 34 35_LIBCPP_POP_MACROS 36 37#endif // _LIBCPP___FWD_SPAN_H 38