Commit graph

25 commits

Author SHA1 Message Date
syntheticpp
697f3f5775 seems this was removed by accident
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1058 7ec92016-0320-0410-acc4-a06ded1c099a
2009-11-21 10:31:47 +00:00
rich_sposato
9e3a736929 Implemented patch 2893162 to allow dynamic-casting with SmartPtr and StrongPtr.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1052 7ec92016-0320-0410-acc4-a06ded1c099a
2009-11-10 19:22:16 +00:00
rich_sposato
1651d21c5e Corrected inheritance for ownership policy.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@914 7ec92016-0320-0410-acc4-a06ded1c099a
2008-12-19 00:39:29 +00:00
rich_sposato
c983337def Fixed variation of bug 2022935 by changing when functions check if strong-count is zero.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@904 7ec92016-0320-0410-acc4-a06ded1c099a
2008-11-10 05:59:59 +00:00
rich_sposato
dcf9d7f1d8 Fixed bug 1668356 by making dtor inline and empty, and changing StrongPtr dtor.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@818 7ec92016-0320-0410-acc4-a06ded1c099a
2007-03-07 00:28:17 +00:00
rich_sposato
1d13860d12 Added destructor to TwoRefCounts.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@814 7ec92016-0320-0410-acc4-a06ded1c099a
2007-03-01 01:23:22 +00:00
syntheticpp
af68912216 move macro switched code into the header to fix linker errors.
By this we don't need special libraries for the
#if defined (LOKI_OBJECT_LEVEL_THREADING) || defined (LOKI_CLASS_LEVEL_THREADING)
case.



git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@807 7ec92016-0320-0410-acc4-a06ded1c099a
2007-02-25 12:49:19 +00:00
rich_sposato
015404028e Made GetPointer function protected to avoid exposing raw pointer. Added helper functions for comparison operators.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@804 7ec92016-0320-0410-acc4-a06ded1c099a
2007-01-12 19:13:38 +00:00
rich_sposato
68f59e4e58 Made functions protected instead of public.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@803 7ec92016-0320-0410-acc4-a06ded1c099a
2007-01-12 01:10:22 +00:00
rich_sposato
d560a3f491 Made Lock and Unlock functions public.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@782 7ec92016-0320-0410-acc4-a06ded1c099a
2006-11-21 01:32:26 +00:00
syntheticpp
6060322298 Loki:: is now part of the macro
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@770 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-26 15:36:20 +00:00
syntheticpp
37f2743043 add empty definition to NeverMatched, the AIX compiler needs it, Thanks to Dieter Rosch
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@766 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-20 10:12:15 +00:00
syntheticpp
ea94f38878 subversion uses $ instead of $
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@747 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-17 19:48:40 +00:00
syntheticpp
24cf84a05f there is no $ with subversion
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@742 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-17 19:30:16 +00:00
syntheticpp
383fab624c change line ending
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@735 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-17 10:39:29 +00:00
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
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
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
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
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
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