Skip to content

Commit

Permalink
some fix
Browse files Browse the repository at this point in the history
  • Loading branch information
changkhothuychung committed Jan 4, 2025
1 parent 1a864b0 commit 096f939
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions libcxx/include/__ranges/concat_view.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@
# pragma GCC system_header
#endif

_LIBCPP_PUSH_MACROS
#include <__undef_macros>

_LIBCPP_BEGIN_NAMESPACE_STD

#if _LIBCPP_STD_VER >= 26
Expand Down Expand Up @@ -133,9 +136,9 @@ concept __all_forward = (forward_range<__maybe_const<_Const, _Views>> && ...);
template <bool _Const, class... _Tp>
struct __apply_drop_first;

template <bool _Const, class Head, class... Tail>
struct __apply_drop_first<_Const, Head, Tail...> {
static constexpr bool value = (sized_range<__maybe_const<_Const, Tail>> && ...);
template <bool _Const, class _Head, class... _Tail>
struct __apply_drop_first<_Const, _Head, _Tail...> {
static constexpr bool value = (sized_range<__maybe_const<_Const, _Tail>> && ...);
};

template <input_range... _Views>
Expand Down Expand Up @@ -620,4 +623,6 @@ inline constexpr auto concat = __concat::__fn{};

_LIBCPP_END_NAMESPACE_STD

_LIBCPP_POP_MACROS

#endif // _LIBCPP___RANGES_CONCAT_VIEW_H

0 comments on commit 096f939

Please sign in to comment.