brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.1 KiB · 1d06833 Raw
41 lines · c
1// -*- C++ -*-2//===----------------------------------------------------------------------===//3//4// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.5// See https://llvm.org/LICENSE.txt for license information.6// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception7//8//===----------------------------------------------------------------------===//9 10#ifndef _LIBCPP___RANGES_ENABLE_BORROWED_RANGE_H11#define _LIBCPP___RANGES_ENABLE_BORROWED_RANGE_H12 13// These customization variables are used in <span> and <string_view>. The14// separate header is used to avoid including the entire <ranges> header in15// <span> and <string_view>.16 17#include <__config>18 19#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)20#  pragma GCC system_header21#endif22 23_LIBCPP_BEGIN_NAMESPACE_STD24 25#if _LIBCPP_STD_VER >= 2026 27namespace ranges {28 29// [range.range], ranges30 31template <class>32inline constexpr bool enable_borrowed_range = false;33 34} // namespace ranges35 36#endif // _LIBCPP_STD_VER >= 2037 38_LIBCPP_END_NAMESPACE_STD39 40#endif // _LIBCPP___RANGES_ENABLE_BORROWED_RANGE_H41