Skip to content

Commit 430afe0

Browse files
committed
Add TODO for member = _;
1 parent 84fc3c2 commit 430afe0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/cpp2/types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ main: () = {
236236

237237
> Note: This makes memberwise semantics symmetric for construction and assignment. In Cpp1, only non-copy/move constructors have a default, which is to initialize a member with its default initializer. In Cpp2, both constructors and assignment operators default to using the default initializer if it's a conversion function (non-`that`, aka non-copy/move), and using memberwise `member = that.member;` for copy/move functions.
238238
239-
239+
TODO: include an example of using `member = _;`
240240

241241

242242
## `#!cpp operator<=>` — Unified comparisons

0 commit comments

Comments
 (0)