Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: hsutter/cppfront
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 9e1c30524f49695244be5bc6792aef1439fcb971
Choose a base ref
..
head repository: hsutter/cppfront
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 8e7c99b94fd9d4c68579142d3a71224801116a07
Choose a head ref
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/cpp2/objects.md
2 changes: 1 addition & 1 deletion docs/cpp2/objects.md
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@ Its declaration is written using the same **name `:` kind `=` value** [declarati
For example:

``` cpp title="Declaring some objects" hl_lines="3 4 7-9 12 13"
// numbers is an object of type std::vector<point2d>,
// numbers is an object of type std::vector<int>,
// defined as having the initial contents 1, 2, 3
numbers: std::vector<int> = (1, 2, 3);
numbers: std::vector = (1, 2, 3); // same, deducing the vector's type