Commit graph

22 commits

Author SHA1 Message Date
syntheticpp
c6d6cada99 GCC 4.3 fixes, thanks to Tom Browder
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@898 7ec92016-0320-0410-acc4-a06ded1c099a
2008-08-09 15:35:12 +00:00
lfittl
214635bfc1 - Fixed build failures with gcc 4.3 pre-release
(http://bugs.debian.org/413432)


git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@823 7ec92016-0320-0410-acc4-a06ded1c099a
2007-05-08 10:48:40 +00:00
syntheticpp
4ab172fcf6 remove msvc8 warnings
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@810 7ec92016-0320-0410-acc4-a06ded1c099a
2007-02-25 14:36:28 +00:00
clitte_bbt
347e1f95f8 STL guaranties that operator* and operator. are defined for iterators.
operator-> is added as a requirement by the ISO/ANSI commitee standarzing C++ from july 1995.
So old implementation might fail using operator-> on iterator.
Converting every "itr->first" into "(*itr).first"

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@802 7ec92016-0320-0410-acc4-a06ded1c099a
2007-01-03 21:50:07 +00:00
clitte_bbt
35888376f1 enlightenment
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@796 7ec92016-0320-0410-acc4-a06ded1c099a
2006-12-18 19:29:30 +00:00
clitte_bbt
401fdba600 Optimizing the update of counters for the EvictAging policy.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@795 7ec92016-0320-0410-acc4-a06ded1c099a
2006-12-18 07:20:08 +00:00
clitte_bbt
d42dc485d9 CachedFactory destruction was leaking memory (cached objects were not deleted).
What to do with in use objects ? Deleting anyway for the moment but it might not be a good idea...
Any comments are welcome.

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@794 7ec92016-0320-0410-acc4-a06ded1c099a
2006-12-17 21:02:00 +00:00
clitte_bbt
10f1b011c6 Integration of SmartPointer encapsulation policy for CachedFactory.
Once the smart pointer goes out of scope, the object is automatically returned to the Cache.

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@792 7ec92016-0320-0410-acc4-a06ded1c099a
2006-12-17 14:59:06 +00:00
clitte_bbt
3b3153fd32 Using "using" in a header could lead to error in client code.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@789 7ec92016-0320-0410-acc4-a06ded1c099a
2006-11-27 20:45:39 +00:00
syntheticpp
b072da9f73 clock/clock_t are not in std:: on msvc, fix wrong type of pure virtual functions
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@787 7ec92016-0320-0410-acc4-a06ded1c099a
2006-11-22 22:56:46 +00:00
clitte_bbt
7dc499a4e1 Adding several const, assert, and small optimizations
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@785 7ec92016-0320-0410-acc4-a06ded1c099a
2006-11-21 20:31:27 +00:00
clitte_bbt
1ecc9448b9 Added caution about accuracy of the std::clock() function of RateLimitedPolicy under linux and Cygwin environnement.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@781 7ec92016-0320-0410-acc4-a06ded1c099a
2006-11-20 23:43:08 +00:00
clitte_bbt
228666b49c Added Doxygen documentation
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@771 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-27 18:05:03 +00:00
clitte_bbt
07d6c5d61f Added Doxygen documentation
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@767 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-22 22:28:24 +00:00
syntheticpp
d7111eb063 subversion uses $ instead of $
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@751 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-17 19:50:37 +00:00
syntheticpp
53243f77ea there is no $ with subversion
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@746 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-17 19:31:51 +00:00
syntheticpp
092052ee93 svn propdel svn:executable -R *
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@739 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-17 18:16:19 +00:00
syntheticpp
e4b5d8357f add CachedFactory: use LOKI_ macros
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@723 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-16 10:32:04 +00:00
syntheticpp
6f706cff82 add CachedFactory, remove gcc warnings
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@722 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-16 10:30:16 +00:00
syntheticpp
8e2c06d853 add CachedFactory, remove gcc warnings
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@721 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-16 10:10:46 +00:00
syntheticpp
78febe17ec add CachedFactory, patches for: msvc, build system
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@720 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-16 09:59:11 +00:00
syntheticpp
cf3ca512e6 add CachedFactory, initial version of Guillaume Chatelet
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@719 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-16 09:31:45 +00:00