File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 4332
4332
// \ref {range.take.while.sentinel }, class template \tcode {take_while_view::\exposid {sentinel}}
4333
4333
template<bool> class @\exposid {sentinel}@; // \expos
4334
4334
4335
- V @\exposid {base_}@; // \expos
4335
+ V @\exposid {base_}@ = V(); // \expos
4336
4336
@\placeholder {semiregular-box}@<Pred> @\exposid {pred_}@; @\itcorr [-1]@ // \expos
4337
4337
4338
4338
public:
4519
4519
return s < c ? 0 : s - c;
4520
4520
}
4521
4521
private:
4522
- V @\exposid {base_}@; // \expos
4523
- range_difference_t<V> @\exposid {count_}@; // \expos
4522
+ V @\exposid {base_}@ = V(); // \expos
4523
+ range_difference_t<V> @\exposid {count_}@ = 0; // \expos
4524
4524
};
4525
4525
4526
4526
template<class R>
4625
4625
{ return ranges::end(@\exposid {base_}@); }
4626
4626
4627
4627
private:
4628
- V @\exposid {base_}@; // \expos
4628
+ V @\exposid {base_}@ = V(); // \expos
4629
4629
@\placeholder {semiregular-box}@<Pred> @\exposid {pred_}@; @\itcorr [-1]@ // \expos
4630
4630
};
4631
4631
6165
6165
using @\exposid {base-t}@ = conditional_t<Const, const V, V>; // \expos
6166
6166
friend @\exposid {iterator}@<!Const>;
6167
6167
6168
- iterator_t<@\exposid {base-t}@> @\exposid {current_}@;
6168
+ iterator_t<@\exposid {base-t}@> @\exposid {current_}@ = iterator_t<@ \exposid {base-t}@>() ;
6169
6169
public:
6170
6170
using iterator_category = typename iterator_traits<iterator_t<@\exposid {base-t}@>>::iterator_category;
6171
6171
using value_type = remove_cvref_t<tuple_element_t<N, range_value_t<@\exposid {base-t}@>>>;
You can’t perform that action at this time.
0 commit comments