Skip to content

Commit 5249b47

Browse files
committed
Fix typo: parameter type -> object type
1 parent f1b8d9c commit 5249b47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/cpp2/objects.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ pi: <T: type> T == 3.14159'26535'89793'23846L;
2929
pi: _ == 3.14159'26535'89793'23846L; // same, deducing the object's type
3030
```
3131

32-
The parameter type can be deduced by writing `_` (the default, so it can be omitted). You can use `is` to declare a type constraint (e.g., a concept) that a deduced type must match, in which case `_` is required. For example:
32+
The object type can be deduced by writing `_` (the default, so it can be omitted). You can use `is` to declare a type constraint (e.g., a concept) that a deduced type must match, in which case `_` is required. For example:
3333

3434
``` cpp title="Declaring an object of constrained deduced type" hl_lines="2"
3535
// number's type is deduced, but must match the std::regular concept

0 commit comments

Comments
 (0)