mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
missing template argument
This commit is contained in:
parent
0b15a43c54
commit
b9f41b5cd0
|
@ -4619,7 +4619,7 @@ A class with members that all have default constructors implicitly gets a defaul
|
||||||
|
|
||||||
struct X {
|
struct X {
|
||||||
string s;
|
string s;
|
||||||
vector v;
|
vector<int> v;
|
||||||
};
|
};
|
||||||
|
|
||||||
X x; // means X{{}, {}}; that is the empty string and the empty vector
|
X x; // means X{{}, {}}; that is the empty string and the empty vector
|
||||||
|
|
Loading…
Reference in New Issue
Block a user