Commit graph

389 commits

Author SHA1 Message Date
syntheticpp
40cc0f1923 add Visitor example
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@395 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-02 10:54:13 +00:00
syntheticpp
b302ff3049 add visitor example to build process
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@394 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-02 10:51:27 +00:00
syntheticpp
7b82d55388 gcc fix
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@393 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-02 10:43:22 +00:00
syntheticpp
0dd0c7089b add Visitor example
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@392 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-02 10:38:25 +00:00
syntheticpp
d25cf66827 add support for visiting constant member functions
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@391 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-02 10:36:45 +00:00
syntheticpp
40bd3305fb speed optimization: pass by reference but store value in case of Functor parameters
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@390 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-02 08:36:51 +00:00
syntheticpp
a24fd38f7a pass Functor arguments in BindFirst by value, Peter Kmmel
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@389 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-01 18:00:05 +00:00
rich_sposato
9bd1702def Added function to trim excess capacity from Chunk container.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@388 7ec92016-0320-0410-acc4-a06ded1c099a
2005-12-29 01:54:24 +00:00
rich_sposato
cb2a534d00 Replaced literal constants with class static data members. (for clarity)
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@387 7ec92016-0320-0410-acc4-a06ded1c099a
2005-12-28 22:34:53 +00:00
syntheticpp
44cead8a69 fix bug 1388477
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@386 7ec92016-0320-0410-acc4-a06ded1c099a
2005-12-27 18:24:53 +00:00
syntheticpp
30dadd86ed fix 64bit pointer problem, and remove a msvc warning
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@385 7ec92016-0320-0410-acc4-a06ded1c099a
2005-12-27 18:19:23 +00:00
syntheticpp
4bdb1d4532 remove warnings when NDEBUG is defined
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@384 7ec92016-0320-0410-acc4-a06ded1c099a
2005-12-19 08:05:46 +00:00
syntheticpp
bf9071ebdb generate library also with the ms toolkit
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@383 7ec92016-0320-0410-acc4-a06ded1c099a
2005-12-19 07:54:40 +00:00
syntheticpp
6a871fad44 make object level locking possible
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@382 7ec92016-0320-0410-acc4-a06ded1c099a
2005-12-17 13:15:30 +00:00
syntheticpp
327cf64701 gcc fixes: version 3.4.4 needs 'typename'
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@381 7ec92016-0320-0410-acc4-a06ded1c099a
2005-12-09 20:11:48 +00:00
syntheticpp
8790145611 fix compare bug by updating, thanks to Justin Matthews
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@380 7ec92016-0320-0410-acc4-a06ded1c099a
2005-12-09 19:59:49 +00:00
rich_sposato
6b6854d53e Added checks for whether loki's allocator is corrupted.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@379 7ec92016-0320-0410-acc4-a06ded1c099a
2005-12-08 22:23:33 +00:00
rich_sposato
0735ea4299 Added functions to check for memory corruption. Also made some minor
coding changes.


git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@378 7ec92016-0320-0410-acc4-a06ded1c099a
2005-12-08 22:09:08 +00:00
rich_sposato
985f330d3d Added functions to check for corrupted Chunks and FixedAllocators. Made
several minor coding changes.


git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@377 7ec92016-0320-0410-acc4-a06ded1c099a
2005-12-08 22:08:20 +00:00
rich_sposato
fb0f712fde Changed template parameter values for SmallObject allocator.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@376 7ec92016-0320-0410-acc4-a06ded1c099a
2005-12-08 21:03:02 +00:00
syntheticpp
6b5d0e2629 add speed comparison
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@375 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-29 14:20:23 +00:00
syntheticpp
7eb9f2e6ae disable %p tests due to different snprintf implementations
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@374 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-29 13:46:20 +00:00
syntheticpp
fa05da94c0 astyle --style=ansi
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@373 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-29 13:20:54 +00:00
syntheticpp
3b596259ec make output code more readable
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@372 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-29 13:17:20 +00:00
syntheticpp
75722359cf point operator added
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@371 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-20 13:16:04 +00:00
rich_sposato
9ec0d8ee64 Adding LockingPtr class to Loki project.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@370 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-19 22:00:23 +00:00
syntheticpp
cfddeb8457 remove lower case readme
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@369 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-16 14:40:20 +00:00
syntheticpp
49e8c8452b update readme file and rename it to a more conventional open source form
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@367 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-16 14:27:27 +00:00
syntheticpp
f6bf838507 changes to CHANGES :)
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@366 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-16 13:39:36 +00:00
syntheticpp
d26ecb6716 change documentation of function
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@365 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-16 13:36:38 +00:00
syntheticpp
aa3a852a7d add CHANGES to discribe important changes
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@364 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-16 12:10:09 +00:00
syntheticpp
a43924fec9 don't use #include 'loki/..' for include/loki files
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@363 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-15 15:12:21 +00:00
syntheticpp
a4d1814c45 also compile with the original gnu pthread.h
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@362 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-15 11:08:57 +00:00
syntheticpp
352db5615c add comment for missing lib when using ms toolkit 2003. directory is not empty thus it is also checked out; this prevents a mising directory error when using make
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@361 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-15 11:05:22 +00:00
syntheticpp
a966dc9aff update documentation due to the new lifetime policies
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@360 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-13 16:51:22 +00:00
syntheticpp
a1b035fd15 make new SetLongevity impl more exception safety
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@359 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-13 14:32:03 +00:00
syntheticpp
f10f61534c add removed tests with NoDestroy plolicy
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@358 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-13 13:39:15 +00:00
syntheticpp
71b6338ca7 make typedefs private, replace tabs
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@357 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-12 17:11:55 +00:00
syntheticpp
735cde8666 protect private data, add std::vector<IdType> RegisteredIds()
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@356 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-12 16:52:36 +00:00
syntheticpp
d45e0a1b08 new impl for SetLongevity which looks more like c++ and circumvents the usage of the so called (ms) 'deprecated' function copy_backward
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@355 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-12 15:14:08 +00:00
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
1857e40384 disable show_directores
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@351 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-03 13:15:54 +00:00
syntheticpp
50bf550572 more doxygen documentation, modules added
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@350 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-03 12:56:58 +00:00
syntheticpp
a7c999161b more doxygen documentation, modules added
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@349 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-03 12:55:20 +00:00
syntheticpp
7b4424b3fd more doxygen documentation, modules added
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@348 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-03 12:43:55 +00:00
syntheticpp
76309d2b5c more doxygen documentation, modules added
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@347 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-02 20:01:11 +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