mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 12:44:42 +03:00
C.49: fix typo in example (closes #1642)
This commit is contained in:
@@ -5631,7 +5631,7 @@ as [a more general way to present arguments to a function](#Rstr-view):
|
|||||||
class D { // Good
|
class D { // Good
|
||||||
string s1;
|
string s1;
|
||||||
public:
|
public:
|
||||||
A(string_view v) : s1{v} { } // GOOD: directly construct
|
D(string_view v) : s1{v} { } // GOOD: directly construct
|
||||||
// ...
|
// ...
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user