45
45
# pragma GCC system_header
46
46
#endif
47
47
48
+ _LIBCPP_PUSH_MACROS
49
+ #include < __undef_macros>
48
50
_LIBCPP_BEGIN_NAMESPACE_STD
49
51
50
52
#if _LIBCPP_STD_VER >= 23
@@ -59,11 +61,11 @@ class zip_transform_view : public view_interface<zip_transform_view<_Fn, _Views.
59
61
_LIBCPP_NO_UNIQUE_ADDRESS zip_view<_Views...> __zip_;
60
62
_LIBCPP_NO_UNIQUE_ADDRESS __movable_box<_Fn> __fun_;
61
63
62
- using _InnerView = zip_view<_Views...>;
64
+ using _InnerView _LIBCPP_NODEBUG = zip_view<_Views...>;
63
65
template <bool _Const>
64
- using __ziperator = iterator_t <__maybe_const<_Const, _InnerView>>;
66
+ using __ziperator _LIBCPP_NODEBUG = iterator_t <__maybe_const<_Const, _InnerView>>;
65
67
template <bool _Const>
66
- using __zentinel = sentinel_t <__maybe_const<_Const, _InnerView>>;
68
+ using __zentinel _LIBCPP_NODEBUG = sentinel_t <__maybe_const<_Const, _InnerView>>;
67
69
68
70
template <bool >
69
71
class __iterator ;
@@ -130,7 +132,7 @@ template <bool _Const, class _Fn, class... _Views>
130
132
struct __zip_transform_iterator_category_base <_Const, _Fn, _Views...> {
131
133
private:
132
134
template <class _View >
133
- using __tag = typename iterator_traits<iterator_t <__maybe_const<_Const, _View>>>::iterator_category;
135
+ using __tag _LIBCPP_NODEBUG = typename iterator_traits<iterator_t <__maybe_const<_Const, _View>>>::iterator_category;
134
136
135
137
static consteval auto __get_iterator_category () {
136
138
if constexpr (!is_reference_v<invoke_result_t <__maybe_const<_Const, _Fn>&,
@@ -158,8 +160,8 @@ template <move_constructible _Fn, input_range... _Views>
158
160
template <bool _Const>
159
161
class zip_transform_view <_Fn, _Views...>::__iterator
160
162
: public __zip_transform_iterator_category_base<_Const, _Fn, _Views...> {
161
- using _Parent = __maybe_const<_Const, zip_transform_view>;
162
- using _Base = __maybe_const<_Const, _InnerView>;
163
+ using _Parent _LIBCPP_NODEBUG = __maybe_const<_Const, zip_transform_view>;
164
+ using _Base _LIBCPP_NODEBUG = __maybe_const<_Const, _InnerView>;
163
165
164
166
friend zip_transform_view<_Fn, _Views...>;
165
167
@@ -355,4 +357,6 @@ inline constexpr auto zip_transform = __zip_transform::__fn{};
355
357
356
358
_LIBCPP_END_NAMESPACE_STD
357
359
360
+ _LIBCPP_POP_MACROS
361
+
358
362
#endif // _LIBCPP___RANGES_ZIP_TRANSFORM_VIEW_H
0 commit comments