Commit graph

391 commits

Author SHA1 Message Date
rich_sposato
163a23bda0 Changed return type from LockingPtr to SharedObject.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@483 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-16 18:34:37 +00:00
syntheticpp
a6e8b74fd7 fix undefined behaviour
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@482 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-16 18:21:01 +00:00
syntheticpp
c69cdedf2e replace tabs
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@480 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-16 13:30:26 +00:00
syntheticpp
d33f2e6585 remove virtual destructor: inherit private only, clean up
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@478 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-16 13:27:49 +00:00
syntheticpp
71448918a7 remove virtual destructor: inherit private only
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@477 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-16 12:49:14 +00:00
syntheticpp
95fadc5260 msvc work around
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@476 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-16 00:05:02 +00:00
syntheticpp
de2a6e513d linux fixes
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@474 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-15 22:32:54 +00:00
syntheticpp
264e205030 add pimple/rimpl idiom
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@471 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-15 22:03:10 +00:00
syntheticpp
4acc1f5923 remove c&p error
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@470 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-14 00:20:10 +00:00
syntheticpp
2f9d9a21d0 make SafeFormat linkable
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@465 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-10 23:11:49 +00:00
syntheticpp
1da01ad7be remove msvc warning
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@458 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-09 08:12:12 +00:00
syntheticpp
d2372341f3 fix for msvc7.1
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@454 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-09 07:51:44 +00:00
syntheticpp
5a3972d804 replace tabs
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@452 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-09 07:27:01 +00:00
syntheticpp
b3c54696f8 fix printing pointers
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@450 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-08 15:41:56 +00:00
syntheticpp
32b4c0a8fa fix printing pointers
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@449 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-08 14:38:29 +00:00
syntheticpp
f09bf76ce3 remove last msvc warnings
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@448 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-07 10:31:24 +00:00
syntheticpp
41217e0c69 replace tabs
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@444 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-06 23:03:15 +00:00
syntheticpp
513b1eab3f add some std::string convenience overloads
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@443 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-06 22:59:18 +00:00
syntheticpp
4d99cdb205 add formated printing of std::strings
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@442 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-06 14:06:26 +00:00
syntheticpp
e647b7ac3e replace tabs
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@439 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-06 09:36:12 +00:00
syntheticpp
81aa37aa37 don't drop support for sizeof(int) < sizeof(long) 32-bit systems
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@438 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-06 09:32:12 +00:00
syntheticpp
7caff05d74 complete 64bit port for windows, someone should test it
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@437 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 22:26:50 +00:00
syntheticpp
9b27ec858e remove warnings, prepare windows 64 bit port
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@436 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 21:29:30 +00:00
syntheticpp
90f1278043 move Printf/SPrintf into the Loki namespace
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@433 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 20:41:47 +00:00
syntheticpp
29e7199a27 msvc8 + toolkit fixes
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@426 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 14:07:49 +00:00
syntheticpp
9087a105b3 remove warnings
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@421 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 13:17:47 +00:00
syntheticpp
f00a0e6e47 fix msvc seg fault in fex_string
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@417 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 11:09:12 +00:00
syntheticpp
62be08b797 remove msvc warnings
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@416 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 10:38:07 +00:00
syntheticpp
c65487fd89 assert, include path, and virtual ~ patches by Lukas Fittl
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@414 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 09:55:09 +00:00
syntheticpp
58de2e0948 remove gcc 4.0 warnings, Thanks to Lukas Fittl
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@411 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 00:06:37 +00:00
syntheticpp
4a676debee remove gcc 4.0 warnings, Thanks to Lukas Fittl
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@410 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 00:01:23 +00:00
syntheticpp
5a9457da09 remove gcc 4.0 warnings, Thanks to Lukas Fittl
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@408 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-04 23:45:08 +00:00
syntheticpp
34556d8722 64bit patch. Thanks to Zak Kipling
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@404 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-04 17:45:42 +00:00
syntheticpp
085dbece36 64bit patch. Thanks to Zak Kipling
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@403 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-04 17:28:08 +00:00
syntheticpp
33b520a8b4 move documenation into correct module
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@400 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-03 15:06:40 +00:00
syntheticpp
71e9ccd59d don't forget Petru Marginean
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@398 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-03 13:32:36 +00:00
syntheticpp
221a6cbc8a add ScopeGuard.h
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@397 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-03 13:29:33 +00:00
syntheticpp
064c2cb4db add some doxygen documentation
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@396 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-02 11:52:03 +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
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
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
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
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
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
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
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
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
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
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
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
10cdcd9d59 remove warning
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@342 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-02 13:58:03 +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
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
0fbe1f7258 #undef LOKI_SMALL_OBJECT_USE_NEW_ARRAY when using a Microsoft compiler
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@330 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-29 08:10:13 +00:00
rich_sposato
841e406282 Minor changes to documentation comments.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@326 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-26 00:50:44 +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
b73fe0bbcf adding support for POSIX threads (pthreads.h), Thanks to Ilya Volvovski
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@319 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-24 15:05:24 +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
syntheticpp
f682afc33b Bugfix: [ 541846 ] SmartPtr and COMRefCounted
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@317 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-21 14:17:46 +00:00
syntheticpp
1d868173c2 Bugfix: 626407 Assertion with SmartPtr<T, LinkedRef>
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@316 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-21 14:04:29 +00:00
syntheticpp
cdb722ec38 add assert
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@315 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-20 16:07:00 +00:00
syntheticpp
d2b327170e replace tabs
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@311 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-17 13:08:34 +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
e8fcb25741 fix bug 1327060. Add missing template parameter to make different static variables possible
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@304 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-15 19:41:23 +00:00
rich_sposato
6981c5931a Added documentation comments about lifetime policies.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@297 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-13 22:43:03 +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
rich_sposato
d772eacd50 Added GetLongevity function so allocator can work with a certain lifetime
policy class used with Loki::SingletonHolder.


git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@293 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-07 01:22:09 +00:00
syntheticpp
c343e24150 adding template based list/sequence implementation, should replace LOKI_TYPELIST_
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@291 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-06 17:49:14 +00:00
rich_sposato
2f6f89551f Added clarifying comment about destructor.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@288 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-06 00:19:56 +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
1550e02b62 fix bug 511144
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@286 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-05 18:45:10 +00:00
syntheticpp
ab34afa8d6 Proposal to solve 'static initialization order fiasco'
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@283 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-05 17:56:11 +00:00
syntheticpp
2171d8a7b8 move unreachable code warnings
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@282 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-05 09:57:37 +00:00
syntheticpp
13d56ada49 the greater the value of longevity the greater the lifetime.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@280 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-05 09:08:42 +00:00
rich_sposato
b97d31ab25 Added array forms of new and delete.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@273 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-27 00:41:13 +00:00
rich_sposato
e529d13e1b Changed include path to be direct instead of relying upon project settings.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@271 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-26 21:38:54 +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
2522fba824 boost says: <member pointer is not pointer>
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@264 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-25 00:40:35 +00:00
syntheticpp
79f4f270a5 gcc fix
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@258 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-24 23:09:13 +00:00
syntheticpp
9cd0057667 correct ParameterType
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@243 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-16 10:35:01 +00:00
syntheticpp
4bf2e38475 add isFunction, isFunctionPointer and isMemberFunction to TypeTrais.h, a HUGE patch from Kalle Runtanen
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@239 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-15 21:14:37 +00:00
syntheticpp
a290ef01b1 fix typetraits bug thanks to Kalle Rutanen
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@237 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-15 17:51:09 +00:00
rich_sposato
c78269f482 Added functions to trim extra memory within allocator. Made a new_handler
function for allocator.  Added deallocator function for nothrow delete
operator to insure nothing is leaked when constructor throws.


git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@229 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-09 00:25:00 +00:00
rich_sposato
aa1b96d9c4 Added #ifdef to deal with MSVC warning about exception specification lists.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@227 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-01 22:01:33 +00:00
syntheticpp
0394032040 remove tabs, wrong enumeration
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@226 7ec92016-0320-0410-acc4-a06ded1c099a
2005-08-31 16:11:53 +00:00
syntheticpp
c1b357a5bd type traits: a refernce is also a integral...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@225 7ec92016-0320-0410-acc4-a06ded1c099a
2005-08-31 15:54:47 +00:00
syntheticpp
16958f02fb samll fix
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@223 7ec92016-0320-0410-acc4-a06ded1c099a
2005-08-27 13:22:56 +00:00
syntheticpp
2c6bfd641d samll fix
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@222 7ec92016-0320-0410-acc4-a06ded1c099a
2005-08-27 13:11:29 +00:00
syntheticpp
cdb70a208b small gcc and msvc8 corrections
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@220 7ec92016-0320-0410-acc4-a06ded1c099a
2005-08-27 12:47:56 +00:00
syntheticpp
0f678b97e2 small gcc and msvc8 corrections
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@219 7ec92016-0320-0410-acc4-a06ded1c099a
2005-08-27 12:47:16 +00:00
syntheticpp
db227c1822 adding SafeFormat.h
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@218 7ec92016-0320-0410-acc4-a06ded1c099a
2005-08-27 10:44:02 +00:00
syntheticpp
cf4af691c2 adding yasli
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@215 7ec92016-0320-0410-acc4-a06ded1c099a
2005-08-27 10:22:04 +00:00
syntheticpp
f994398a51 -adding flex_string
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@214 7ec92016-0320-0410-acc4-a06ded1c099a
2005-08-27 10:20:46 +00:00
syntheticpp
0ed8a7a091 fix bug[ 446592 ] SmartPtr an threading (RefCountedMT)
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@212 7ec92016-0320-0410-acc4-a06ded1c099a
2005-08-27 09:21:02 +00:00
syntheticpp
18884e392f [ 561438 ] GenLinearHierarchy
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@211 7ec92016-0320-0410-acc4-a06ded1c099a
2005-08-26 15:35:41 +00:00
syntheticpp
f6fffe4dea fix bug: [ 669669 ] TypeTraits::ParameterType for non-primitive types
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@210 7ec92016-0320-0410-acc4-a06ded1c099a
2005-08-26 15:17:42 +00:00
syntheticpp
205770826b fix bug: [ 669669 ] TypeTraits::ParameterType for non-primitive types
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@209 7ec92016-0320-0410-acc4-a06ded1c099a
2005-08-26 15:07:24 +00:00
syntheticpp
41536265e8 better support of types with const/volatile qualifiers, thanks to Kalle Rutanen
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@208 7ec92016-0320-0410-acc4-a06ded1c099a
2005-08-26 14:02:28 +00:00
syntheticpp
79abaf3ed9 small corrections
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@207 7ec92016-0320-0410-acc4-a06ded1c099a
2005-08-25 15:49:51 +00:00
syntheticpp
4c5968dc18 small corrections
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@206 7ec92016-0320-0410-acc4-a06ded1c099a
2005-08-25 15:23:14 +00:00
syntheticpp
ba4d64fbe2 make comments consistent with the code
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@205 7ec92016-0320-0410-acc4-a06ded1c099a
2005-08-25 15:22:33 +00:00
syntheticpp
f783dcc91b invert new factory code macro logic to be ReferenceTest more compatible with noncc code
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@202 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-31 14:23:24 +00:00
syntheticpp
687c3682a7 make object level threading possible
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@201 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-31 14:00:48 +00:00
syntheticpp
7382c3dde0 replace old implementation with the ingeious from Rich Sposato
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@200 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-31 13:51:31 +00:00
syntheticpp
21e122256a add cvs Header/Log
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@194 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-28 14:26:10 +00:00
syntheticpp
da325e4b8e tabs/space
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@193 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-28 14:13:46 +00:00
syntheticpp
2c7b241eaf new macros for default threading
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@190 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-28 14:04:07 +00:00
syntheticpp
c85f9b568f new Factory, create functions with parameters
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@189 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-28 14:03:30 +00:00
syntheticpp
2c8ae86eee error on incomplete types, void fix
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@187 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-28 06:49:46 +00:00
syntheticpp
6037b312a6 error on incomplete types, void fix
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@186 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-28 06:42:33 +00:00
syntheticpp
3a7eb042b9 prepare for next SmallObject version
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@185 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-28 06:12:32 +00:00
syntheticpp
a3ad4d38e2 fix fug SuperSubclass and incomplete classes, 630897
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@184 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-27 19:59:05 +00:00
syntheticpp
ecd3aa136e fix fug SuperSubclass and incomplete classes, 630897
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@183 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-27 19:26:55 +00:00
syntheticpp
7fa263d636 asserts to catch >static initialization order fiasco<
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@182 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-27 17:33:50 +00:00
syntheticpp
a5e61478b6 differnt locks for different SingletonHolders. bug 691687
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@181 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-27 17:33:22 +00:00
syntheticpp
c4e9df64c2 asserts to catch >static initialization order fiasco<
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@180 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-27 16:32:20 +00:00
syntheticpp
dddd95d48d add asserts to ClassLevelLockable
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@179 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-26 15:11:48 +00:00
syntheticpp
1237efed14 bug fix, default threading support
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@178 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-26 14:33:30 +00:00
syntheticpp
c3da9552e6 add asserts to ClassLevelLockable
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@177 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-26 14:30:17 +00:00
syntheticpp
7af7ab498b fix logical error
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@175 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-26 13:09:16 +00:00
syntheticpp
da963073d4 mingw thread support
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@171 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-24 20:01:54 +00:00
syntheticpp
baa2869479 ObjectLevelLockable: add copy ctor which creates a new mutex. Thanks to sourceforge::horodrigues
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@170 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-24 19:19:41 +00:00
syntheticpp
c33413b35c remove unreferenced formal parameter
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@169 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-24 17:28:27 +00:00
syntheticpp
784d4d529f moved source files
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@164 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-20 10:51:17 +00:00
syntheticpp
48c452fb9c move and rename directory: Reference->include/loki
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@154 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-20 07:28:37 +00:00