mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 20:54:41 +03:00
read_and_print comment typo fix
read and print and int -> read and print an int
This commit is contained in:
@@ -1591,7 +1591,7 @@ If something is a well-specified action, separate it out from its surrounding c
|
|||||||
|
|
||||||
**Example, don't**:
|
**Example, don't**:
|
||||||
|
|
||||||
void read_and_print(istream& is) // read and print and int
|
void read_and_print(istream& is) // read and print an int
|
||||||
{
|
{
|
||||||
int x;
|
int x;
|
||||||
if (is>>x)
|
if (is>>x)
|
||||||
|
|||||||
Reference in New Issue
Block a user