Commit graph

76 commits

Author SHA1 Message Date
syntheticpp
1c8bce4d43 remove warnings and adjust code to new default lifetimes of SmallObjects
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@354 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-12 15:13:36 +00:00
syntheticpp
0fc58a0e86 change lifetime policy DieOrder to a msvc7.1 compilable version. Make this the default lifetime for SmallObject
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@353 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-07 12:06:43 +00:00
syntheticpp
4e97accb6a disable FollowIntoDeath/DieOrder lifetime policies when using the msvc 7.1 compiler, bug article: 839821 'Microsoft has confirmed that this is a problem..'
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@352 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-05 17:43:55 +00:00
syntheticpp
cff0fad314 use new singleton lifetime policies
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@346 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-02 15:00:38 +00:00
syntheticpp
8d8988f5c0 use new singleton lifetime policies
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@345 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-02 14:15:44 +00:00
syntheticpp
5bbe746eee use new singleton lifetime policies
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@344 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-02 14:11:18 +00:00
syntheticpp
6c8b1660b4 use new singleton lifetime policies
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@343 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-02 13:58:18 +00:00
rich_sposato
6f647c1a21 Added explanatory comment about why class has no new [] and delete []
operators.  Removed other comment which is now useless.


git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@341 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-02 01:46:04 +00:00
syntheticpp
d805e8d90b apply new lifetime policy to avoid crash on exit in test/Factory
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@340 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-01 11:38:19 +00:00
syntheticpp
a17791f2c8 test program for lifetime policies FollowIntoDeath and DieOrder
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@339 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-01 11:15:22 +00:00
syntheticpp
a7687a05a1 add lifetime policies to manage singleton lifetime dependencies: FollowIntoDeath and DieOrder. Change SmallObject.h to avoid memory leaks by default
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@338 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-01 11:11:52 +00:00
syntheticpp
698ffbff54 disable mt classes when threading is disabled
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@337 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-01 11:03:31 +00:00
syntheticpp
a2d383198c test correct also when boost is disabled
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@336 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-30 14:33:33 +00:00
syntheticpp
41d2cb34f5 disable threading because the sdk (windows.h) is not detected automatically by the batch scripts
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@335 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-30 14:22:31 +00:00
syntheticpp
7fe4c81ff0 replace tabs space
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@334 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-30 14:03:23 +00:00
syntheticpp
570f0ed652 make disabling the TYPELIST macros possible
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@333 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-30 13:49:44 +00:00
syntheticpp
ba524baf5a replace with new implementation
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@332 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-29 12:38:22 +00:00
syntheticpp
de09eec49b find loki include files without a correct sreach pathand some small fixes
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@331 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-29 10:21:46 +00:00
syntheticpp
cb9492fca9 new bechmark with: new, SmallObj, SmallValueObj, boost::object_pool, malloc and std::allocator
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@329 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-27 19:11:01 +00:00
syntheticpp
9e333d1dec gcc fix
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@328 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-27 19:10:32 +00:00
syntheticpp
4978cfb9d8 make object size more flexible
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@327 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-26 23:30:06 +00:00
rich_sposato
b078e019be Added comparison to boost::pool memory allocator.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@325 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-26 00:41:00 +00:00
rich_sposato
b8142d7acc Added CVS keywords and header lines.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@324 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-26 00:38:49 +00:00
rich_sposato
71e9d5aa2d Added seconds back to output.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@323 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-26 00:33:06 +00:00
syntheticpp
8f382ba936 Table is out of date
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@322 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-24 20:51:38 +00:00
syntheticpp
23ade9b6f0 small changes for Threads; add compile test for Threads.h
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@321 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-24 20:35:12 +00:00
syntheticpp
da979a7e0e add boost/TR1 like usage of Functor, with a test program from boost 1.33
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@320 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-24 15:40:22 +00:00
syntheticpp
7d66b82b9a bug fix: Unix compilation problems
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@318 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-24 12:13:07 +00:00
rich_sposato
2d4f6a82e6 Removed file which is not needed for project.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@312 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-17 18:04:44 +00:00
syntheticpp
a60cd00348 add test for static member variables
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@309 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-17 09:43:45 +00:00
syntheticpp
d1a5bd2ec8 add SmallSingleton to build process
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@308 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-17 09:03:54 +00:00
syntheticpp
a61d7f7127 add DeletableSingleton policy and examples from Curtis Krauskopf's CUJ article 'Creating Dynamic Singletons & the Loki Library' - www.decompile.com
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@307 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-17 08:43:42 +00:00
syntheticpp
6c7cedb361 add example from Curtis Krauskopf's CUJ article 'Creating Dynamic Singletons & the Loki Library' - www.decompile.com
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@306 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-17 08:24:50 +00:00
rich_sposato
b6916ef5fe Adding SmallSingleton project to CVS.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@301 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-14 20:28:51 +00:00
rich_sposato
ea12936779 Adding SmallSingleton test project to CVS.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@300 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-14 18:48:10 +00:00
rich_sposato
7cebdb5f96 Added cvs keywords.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@299 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-14 18:35:06 +00:00
rich_sposato
01349cc358 Added program to test how compiler uses default new and delete operators.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@295 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-13 00:40:38 +00:00
syntheticpp
ebde306337 Bug [ 1314453 ] AssocVector<>: hinted insert does not preservedering. Thanks to Christopher Twigg
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@294 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-10 15:02:57 +00:00
syntheticpp
98c07576c8 adding template based list/sequence implementation, should replace LOKI_TYPELIST_, update some files
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@292 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-06 17:50:51 +00:00
syntheticpp
1eb831f009 calculate also speed-up factor
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@290 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-06 10:17:56 +00:00
rich_sposato
4e035929fd Added tests for new [] and delete [].
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@289 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-06 00:20:24 +00:00
syntheticpp
bf144a940b remove some unnecessary code
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@287 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-05 22:43:00 +00:00
syntheticpp
3156804c37 update build process
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@285 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-05 18:14:21 +00:00
syntheticpp
b44c50216e add OrderedStatic test
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@284 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-05 17:57:54 +00:00
syntheticpp
d0e75dd3b1 add Longevity test
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@281 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-05 09:11:58 +00:00
syntheticpp
dee53adb01 update msvc build process
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@277 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-29 08:09:17 +00:00
rich_sposato
98734a38e9 Added comments saying how to test array forms of new and delete.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@276 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-27 17:04:30 +00:00
syntheticpp
dcb1d09cd5 undo msvc project-file changes
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@270 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-26 08:43:29 +00:00
syntheticpp
6e99716c13 move macros into LOKI_ namespace
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@269 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-26 07:33:05 +00:00
syntheticpp
2ee111e98a upate to general makefiles
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@263 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-25 00:06:40 +00:00