vtable_hide

git-svn-id: svn://10.0.0.236/trunk@149976 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
darin%meer.net
2003-12-03 07:50:05 +00:00
parent 8cf0dd6dee
commit ed54e4945c
21 changed files with 1588 additions and 0 deletions

28
vtable_hide/string/tt.cc Normal file
View 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;
}