Skip to content

Commit c772993

Browse files
authored
Merge pull request #3627 from luozhiya/patch-1
fix is_standard_layout typo
2 parents 55906a9 + 2bbfdea commit c772993

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/cpp/trivial-standard-layout-and-pod-types.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ struct Base
8383
int j;
8484
};
8585

86-
// std::is_standard_layout<<Derived> == false!
86+
// std::is_standard_layout<Derived> == false!
8787
struct Derived : public Base
8888
{
8989
int x;
@@ -99,7 +99,7 @@ struct Base
9999
void Foo() {}
100100
};
101101

102-
// std::is_standard_layout<<Derived> == true
102+
// std::is_standard_layout<Derived> == true
103103
struct Derived : public Base
104104
{
105105
int x;

0 commit comments

Comments
 (0)