vtable_hide
git-svn-id: svn://10.0.0.236/trunk@149976 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
28
vtable_hide/string/tt.cc
Normal file
28
vtable_hide/string/tt.cc
Normal file
@@ -0,0 +1,28 @@
|
||||
|
||||
class A
|
||||
{
|
||||
public:
|
||||
A(int x, int y, int z)
|
||||
: _x(x), _y(y), _z(z) {}
|
||||
private:
|
||||
int _x, _y, _z;
|
||||
};
|
||||
|
||||
class B
|
||||
{
|
||||
public:
|
||||
B(int x, int y, int z)
|
||||
{ _x = x;
|
||||
_z = z;
|
||||
_y = y;
|
||||
}
|
||||
private:
|
||||
int _x, _y, _z;
|
||||
};
|
||||
|
||||
int main()
|
||||
{
|
||||
A a(1, 2, 3);
|
||||
B b(1, 2, 3);
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user