mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
Fix Markdown rendering failure
Use of <iostream> without backticks causes the Markdown render to fail from this point onwards on GitHub pages.
This commit is contained in:
parent
4359ca5ae5
commit
11e92eb4c5
|
@ -18089,7 +18089,7 @@ Avoid accidentally becoming dependent on implementation details and logically se
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
<iostream> exposes the definition of `std::string` ("why?" makes for a fun trivia question),
|
`<iostream>` exposes the definition of `std::string` ("why?" makes for a fun trivia question),
|
||||||
but it is not required to do so by transitively including the entire `<string>` header,
|
but it is not required to do so by transitively including the entire `<string>` header,
|
||||||
resulting in the popular beginner question "why doesn't `getline(cin,s);` work?"
|
resulting in the popular beginner question "why doesn't `getline(cin,s);` work?"
|
||||||
or even an occasional "`string`s cannot be compared with `==`).
|
or even an occasional "`string`s cannot be compared with `==`).
|
||||||
|
|
Loading…
Reference in New Issue
Block a user