diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2009-01-05 16:46:19 +0000 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2009-01-05 16:46:19 +0000 |
commit | 1b8804288050f92dd6da3ff98c9ecece5953d717 (patch) | |
tree | fbafc2762ea989009baceaefacc034382a890a4f /doc | |
parent | 7db3f2f72a3902994fa766d8d7241d0437867739 (diff) |
the empty base class optimization is not standard. Most compilers implement a basic form of it; however MSVC won't implement it if there is more than one empty base class.
For that reason, we shouldn't give Matrix two empty base classes, since sizeof(Matrix) must be optimal.
So we overload operator new and delete manually rather than inheriting an empty struct for doing that.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions