CPlusPlusThings/codingStyleIdioms/5_pImpl/noPimpl.cpp
Light-City 4f149eec72 update
2019-12-12 16:09:55 +08:00

24 lines
201 B
C++

#include <iostream>
#include <vector>
using namespace std;
class C {
vector<int> v;
string s;
};
class D {
string s;
};
class X {
private:
C c;
D d;
};
int main() {
X x;
}