syntheticpp
e337788cc5
change line ending
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@734 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-17 10:36:45 +00:00
syntheticpp
812423e188
workaround for broken msvc/gcc: template friends with template template parameters
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@732 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-17 10:06:58 +00:00
syntheticpp
56c73cd3bc
fix wrong friend declaration
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@731 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-17 09:14:27 +00:00
syntheticpp
d19b1df7f4
remove C&P error
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@730 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-16 16:34:48 +00:00
syntheticpp
b91c17f0a5
add inline to fix linker errors
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@727 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-16 11:16:59 +00:00
syntheticpp
df24bcb2c0
add operator > < == to EmptyType
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@724 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-16 10:38:02 +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
syntheticpp
530af30626
remove min/max definitions
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@718 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-15 10:25:01 +00:00
syntheticpp
0d71c438ab
add missing unsigned long overload for Windows
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@716 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-15 09:33:54 +00:00
rich_sposato
584959ad1c
Added #ifdef sections around policy and implementation classes that only
...
work properly in multi-threaded model.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@713 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-14 00:01:05 +00:00
syntheticpp
0ac52235b4
fix gcc>4.1 handling of injected friends
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@709 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-11 10:44:21 +00:00
syntheticpp
c249b0f93b
add ctor with std::pair argument
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@705 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-11 08:51:40 +00:00
syntheticpp
f628dc7165
move instantiation to the source file (fixes linker error with gcc 4.0.1 on the mac), Thanks to Idar Tollefsen and Sam Miller
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@703 7ec92016-0320-0410-acc4-a06ded1c099a
2006-09-15 06:30:16 +00:00
syntheticpp
3e5f183a8d
use LOKI_* macros to check for the including of windows.h/pthread.h
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@700 7ec92016-0320-0410-acc4-a06ded1c099a
2006-09-08 17:52:58 +00:00
syntheticpp
d5567eea60
remove msvc warning
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@698 7ec92016-0320-0410-acc4-a06ded1c099a
2006-09-08 10:50:18 +00:00
syntheticpp
0e03492cdb
ImplT/PimplT/RimplT renamed to the more readable version: T->Of
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@696 7ec92016-0320-0410-acc4-a06ded1c099a
2006-07-17 11:05:44 +00:00
lfittl
3de4a064cb
- Create initial 0.1.6 changelog
...
- Makefiles can now be called from sub directories
- Makefiles know includes and recompile if they are changed (linux, macosx)
- Build all tests except SingletonDll with the static library (linux, macosx)
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@695 7ec92016-0320-0410-acc4-a06ded1c099a
2006-07-14 07:31:37 +00:00
syntheticpp
81c7b0d3db
also compile when std::string is not implicit included/typedefed by other headers; the SUN compiler needs the explicit include of <string>
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@694 7ec92016-0320-0410-acc4-a06ded1c099a
2006-07-07 09:50:30 +00:00
syntheticpp
ae9c9ecc22
add writing to ostream, by Tom Browder
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@692 7ec92016-0320-0410-acc4-a06ded1c099a
2006-07-06 18:25:28 +00:00
syntheticpp
289bc55ba0
fix wrong buffer size check
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@691 7ec92016-0320-0410-acc4-a06ded1c099a
2006-07-03 09:55:19 +00:00
syntheticpp
c6a110f676
add docu about missing recursive mutex support when using pthreads
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@690 7ec92016-0320-0410-acc4-a06ded1c099a
2006-07-03 08:43:35 +00:00
syntheticpp
6bb64c5ff1
add reentrance support to the pthread mutex, thx to Shen Lei
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@688 7ec92016-0320-0410-acc4-a06ded1c099a
2006-07-01 10:30:03 +00:00
syntheticpp
e3277a903d
add reentrance support to the pthread mutex, thx to Shen Lei
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@687 7ec92016-0320-0410-acc4-a06ded1c099a
2006-07-01 10:26:25 +00:00
syntheticpp
11e532673b
use standard conforming naming, SUN's compiler needs it
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@686 7ec92016-0320-0410-acc4-a06ded1c099a
2006-06-28 08:04:21 +00:00
syntheticpp
30f4e933c1
replace tabs with 4 spaces
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@680 7ec92016-0320-0410-acc4-a06ded1c099a
2006-06-19 12:39:09 +00:00
syntheticpp
9b30cc32a6
add hint to fix broken build
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@678 7ec92016-0320-0410-acc4-a06ded1c099a
2006-06-19 12:18:44 +00:00
syntheticpp
ee00d7fb60
simplify Functor::operator== implementation. Thanks to Eric Beyeler
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@676 7ec92016-0320-0410-acc4-a06ded1c099a
2006-06-09 12:58:44 +00:00
syntheticpp
9233d249c9
fix wrong default value handling, gcc fix
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@675 7ec92016-0320-0410-acc4-a06ded1c099a
2006-06-09 12:57:15 +00:00
syntheticpp
ad77f8b3ef
fix wrong default value handling
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@674 7ec92016-0320-0410-acc4-a06ded1c099a
2006-06-09 12:04:40 +00:00
vizowl
7227fa0c4e
added a check for _POSIX_PTHREAD_H to detect pthread.h on OS X
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@672 7ec92016-0320-0410-acc4-a06ded1c099a
2006-06-04 20:18:39 +00:00
syntheticpp
50d35c6196
add operator== to Functor, initiated by Eric Beyeler
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@662 7ec92016-0320-0410-acc4-a06ded1c099a
2006-06-01 12:33:05 +00:00
syntheticpp
0f42475f4a
add warning about mt bug
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@660 7ec92016-0320-0410-acc4-a06ded1c099a
2006-05-30 14:30:19 +00:00
syntheticpp
013ffed520
enable documentation by removing doxygen warning
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@654 7ec92016-0320-0410-acc4-a06ded1c099a
2006-05-20 10:25:08 +00:00
syntheticpp
781b92cff9
add warnings in the documentation about the special lifetime when using SmallObjects
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@653 7ec92016-0320-0410-acc4-a06ded1c099a
2006-05-20 10:23:07 +00:00
syntheticpp
e23c99bf65
undo commit 1.29, reject bug: [ 1459838 ] Loki::COMRefCounted doesn't call AddRef() on assignment
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@646 7ec92016-0320-0410-acc4-a06ded1c099a
2006-05-17 16:04:32 +00:00
rich_sposato
0e8b336c0a
Corrected comments. Added operator= function. Improved efficiency of
...
dtor. Other minor changes.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@641 7ec92016-0320-0410-acc4-a06ded1c099a
2006-04-21 21:45:17 +00:00
rich_sposato
5a1e25a204
Changed DeleteSingle and DeleteArray policy to not allow use of incomplete
...
types.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@640 7ec92016-0320-0410-acc4-a06ded1c099a
2006-04-19 01:04:26 +00:00
syntheticpp
cdc9205e8e
fix compare bug
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@639 7ec92016-0320-0410-acc4-a06ded1c099a
2006-04-18 09:27:35 +00:00
lfittl
85a490c387
- Various makefile improvements (better mingw support, easier to add new sources)
...
- Include loki/StrongPtr.hpp, not Loki/StrongPtr.hpp (test/SmartPtr)
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@638 7ec92016-0320-0410-acc4-a06ded1c099a
2006-04-18 07:29:41 +00:00
syntheticpp
cdc57d88aa
change init order to inheritance order
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@637 7ec92016-0320-0410-acc4-a06ded1c099a
2006-04-16 14:08:46 +00:00
syntheticpp
607fcf9ec9
gcc pedantic fix
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@634 7ec92016-0320-0410-acc4-a06ded1c099a
2006-04-16 13:36:26 +00:00
rich_sposato
f19d9c93b1
Stylistic change so I can put breakpoint on lines within Mutex functions.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@628 7ec92016-0320-0410-acc4-a06ded1c099a
2006-04-15 00:39:50 +00:00
rich_sposato
aee558d54d
Added LOKI_EXPORT macro.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@625 7ec92016-0320-0410-acc4-a06ded1c099a
2006-04-06 06:05:20 +00:00
rich_sposato
d5f4f0f77f
Added StrongPtr class to Loki along with tests for StrongPtr.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@623 7ec92016-0320-0410-acc4-a06ded1c099a
2006-04-05 22:56:58 +00:00
rich_sposato
0201647cdc
Fixed bug 1459838 using fix made by Thomas Albrecht. (Thanks!)
...
Also added a constructor for NoCheck policy.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@622 7ec92016-0320-0410-acc4-a06ded1c099a
2006-04-05 22:41:43 +00:00
lfittl
85b6e7a7da
- Applied patch from Sam Miller to fix bug #1463844
...
- Some minor makefile improvements
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@621 7ec92016-0320-0410-acc4-a06ded1c099a
2006-04-04 23:15:10 +00:00