[orbitcpp-commits] orbitcpp philipd
Status: Beta
Brought to you by:
philipd
From: Phil D. <ph...@sl...> - 2000-04-19 10:39:26
|
CVSROOT: /cvsroot/orbitcpp Module name: orbitcpp Changes by: philipd 00/04/19 03:31:56 Modified files: compiler : pass_xlate.cc types.cc orb : orbitcpp.hh orbitcpp_poa.hh orbitcpp_sequence.hh test/everything: client.cc Added files: orb : orbitcpp_constants.hh Log message: Code to invoke constructors for sequence elements that are variable length types. Highlights: - There are now leaf sequence classes: class SequenceTmplForVarLengthElem class SequenceTmplForFixedLengthElem class BoundedSequenceTmplForVarLengthElem class BoundedSequenceTmplForFixedLengthElem (it may be possible to factor these better) Sequence memory allocation for variable length types is now done via a specialised operator new[](); I've hardcoded the operator new[] control block size in orb/constants.hh - this really needs to be determined by a configure macro. Basically this is a 'checkpoint' checkin, and uses a nasty hack which relies on the format of the operator new[] control block, so it probably only works on 32 bit machines using gcc 2.95.2. I'll work on some code to fix that and make it portable in the next checkin. |