mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Vendor import of llvm-project branch release/14.x llvmorg-14.0.0-2-g3f43d803382d.
This commit is contained in:
parent
7ed7200811
commit
8a0619680e
1 changed files with 7 additions and 1 deletions
|
|
@ -622,7 +622,13 @@ template<class _Tp, size_t _Sz>
|
|||
template<class _Tp, size_t _Sz>
|
||||
span(const array<_Tp, _Sz>&) -> span<const _Tp, _Sz>;
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_CONCEPTS) && !defined(_LIBCPP_HAS_NO_INCOMPLETE_RANGES)
|
||||
#if defined(_LIBCPP_HAS_NO_CONCEPTS) || defined(_LIBCPP_HAS_NO_INCOMPLETE_RANGES)
|
||||
template<class _Container>
|
||||
span(_Container&) -> span<typename _Container::value_type>;
|
||||
|
||||
template<class _Container>
|
||||
span(const _Container&) -> span<const typename _Container::value_type>;
|
||||
#else
|
||||
template<ranges::contiguous_range _Range>
|
||||
span(_Range&&) -> span<remove_reference_t<ranges::range_reference_t<_Range>>>;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue