Skip to content

Commit 9925f3a

Browse files
burblebeetkoeppe
authored andcommitted
LWG3796 movable-box as member should use default-initialization instead of copy-initialization
1 parent 9839456 commit 9925f3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/ranges.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3416,7 +3416,7 @@
34163416
// \ref{range.repeat.iterator}, class \tcode{repeat_view::\exposid{iterator}}
34173417
struct @\exposidnc{iterator}@; // \expos
34183418

3419-
@\exposidnc{movable-box}@<W> @\exposid{value_}@ = W(); // \expos, see \ref{range.move.wrap}
3419+
@\exposidnc{movable-box}@<W> @\exposid{value_}@; // \expos, see \ref{range.move.wrap}
34203420
Bound @\exposid{bound_}@ = Bound(); // \expos
34213421

34223422
public:
@@ -13308,7 +13308,7 @@
1330813308
requires @\libconcept{view}@<V> && is_object_v<Pred>
1330913309
class chunk_by_view : public view_interface<chunk_by_view<V, Pred>> {
1331013310
V @\exposid{base_}@ = V(); // \expos
13311-
@\exposidnc{movable-box}@<Pred> @\exposid{pred_}@ = Pred(); // \expos
13311+
@\exposidnc{movable-box}@<Pred> @\exposid{pred_}@; // \expos
1331213312

1331313313
// \ref{range.chunk.by.iter}, class \tcode{chunk_by_view::\exposid{iterator}}
1331413314
class @\exposidnc{iterator}@; // \expos

0 commit comments

Comments
 (0)