mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 12:44:42 +03: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:
@@ -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 `==`).
|
||||||
|
|||||||
Reference in New Issue
Block a user