mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
F.21 remove ;
in function definition (#1592)
This commit is contained in:
parent
ab91388efd
commit
d2be4cba57
|
@ -3135,7 +3135,7 @@ such as `string` and `vector`, that needs to do free store allocations.
|
|||
|
||||
To compare, if we passed out all values as return values, we would something like this:
|
||||
|
||||
pair<istream&, string> get_string(istream& is); // not recommended
|
||||
pair<istream&, string> get_string(istream& is) // not recommended
|
||||
{
|
||||
string s;
|
||||
is >> s;
|
||||
|
|
Loading…
Reference in New Issue
Block a user