We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfd2f7c commit 1421f37Copy full SHA for 1421f37
book/zh-cn/05-pointers.md
@@ -148,13 +148,13 @@ struct B;
148
struct A {
149
std::shared_ptr<B> pointer;
150
~A() {
151
- std::cout << "A 被销毁" << std::end;
+ std::cout << "A 被销毁" << std::endl;
152
}
153
};
154
struct B {
155
std::shared_ptr<A> pointer;
156
~B() {
157
- std::cout << "B 被销毁" << std::end;
+ std::cout << "B 被销毁" << std::endl;
158
159
160
int main() {
0 commit comments