Commit graph

77 commits

Author SHA1 Message Date
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