HiThese patches convert various places to use boost::ptr_vector or std::vector.
They were all compiled with "make debug=t" and they all pass "make check"Note that I've now converted all of the "easy" ones in the SW module, so I'm going to move on to the SC module.
In particular, I've found PTRARR_SORT_DEL to be hard to convert. Mostly because the logical conversion is to use std::set, but a lot of the code stores indexes into the PTRARR, which doesn't work with a std::set.
Regards, Noel Grandin Disclaimer: http://www.peralex.com/disclaimer.html
Attachment:
0006-Convert-SV_DECL_PTRARR-SwOLENodes-to-std-vector.patch
Description: application/mbox
Attachment:
0007-Convert-SV_DECL_PTRARR_DEL-SwNumRuleTbl-to-std-vecto.patch
Description: application/mbox
Attachment:
0008-Convert-SV_DECL_PTRARR_DEL-SwTOXTypes-to-std-vector.patch
Description: application/mbox
Attachment:
0009-Convert-SV_DECL_PTRARR_DEL-SwFldTypes-to-std-vector.patch
Description: application/mbox
Attachment:
0010-Convert-SV_DECL_PTRARR_DEL-SwPageDescs-to-std-vector.patch
Description: application/mbox
Attachment:
0011-Convert-SV_DECL_PTRARR_DEL-SwDSParamArr-to-boost-ptr.patch
Description: application/mbox
Attachment:
0012-Convert-SV_DECL_PTRARR_DEL-SwLabRecs-to-std-vector.patch
Description: application/mbox
Attachment:
0013-Convert-V_DECL_PTRARR_DEL-SwFlySaveArr-to-std-vector.patch
Description: application/mbox
Attachment:
0014-Convert-SV_DECL_PTRARR-SwMovedBoxes-to-std-vector.patch
Description: application/mbox
Attachment:
0015-Inline-SV_DECL_PTRARR_DEL-SwCacheObjArr-into-a-std-v.patch
Description: application/mbox
Attachment:
0016-Convert-SV_DECL_PTRARR_DEL-SwpHstry-to-std-vector.patch
Description: application/mbox
Attachment:
0001-Convert-SV_DECL_PTRARR-SwSortKeys-to-std-vector.patch
Description: application/mbox
Attachment:
0002-Convert-SV_DECL_PTRARR-SwSections-to-std-vector.patch
Description: application/mbox
Attachment:
0003-Convert-SV_DECL_PTRARR_DEL-SwRubyList-to-boost-ptr_v.patch
Description: application/mbox
Attachment:
0004-Convert-SV_DECL_PTRARR_SORT_VISIBILITY-SwPosFlyFrms-.patch
Description: application/mbox
Attachment:
0005-Convert-SV_DECL_PTRARR_DEL-SwGetINetAttrs-to-boost-p.patch
Description: application/mbox