Commit graph

33 commits

Author SHA1 Message Date
rich_sposato
965a15a5f0 Added void lines to remove compiler warnings. Commented out inappropriate tests. Added call to single-owner test for StrongPtr.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1131 7ec92016-0320-0410-acc4-a06ded1c099a
2011-10-03 04:56:54 +00:00
rich_sposato
0801173d25 Added tests for SmartPtr::operator[] - and related changes.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1113 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-20 23:32:29 +00:00
rich_sposato
ca6a94ac97 Back to revision 1109. Accidentally checked in more files than I intended.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1111 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-20 23:19:14 +00:00
rich_sposato
16094ffe39 A little cleanup. Moved class to SmartPtr.cpp and SmartPtr.h files.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1110 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-20 22:34:24 +00:00
rich_sposato
9d55e10a3b Added ability for StrongPtr to handle arrays.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1107 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-20 18:36:12 +00:00
rich_sposato
0f2b0a91d8 Uncommented test for const DestructiveCopy pointer after fixing bug.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1102 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-17 02:20:19 +00:00
rich_sposato
d84589282e Added more tests for DestructiveCopy.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1098 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-08 23:51:46 +00:00
rich_sposato
d6ee790dd6 Added tests for DestructiveCopy.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1097 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-08 23:37:26 +00:00
rich_sposato
9fe5e76c73 Added tests for bug 3224518.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1095 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-07 22:50:38 +00:00
syntheticpp
1a2e0328a0 gcc fixes, thanks to Roland Pabel
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1067 7ec92016-0320-0410-acc4-a06ded1c099a
2009-12-22 11:36:36 +00:00
rich_sposato
6eb3a5a216 Added tests for dynamic-casting with SmartPtr and StrongPtr.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1053 7ec92016-0320-0410-acc4-a06ded1c099a
2009-11-10 19:27:20 +00:00
rich_sposato
2817d41081 Added tests for comparison operators for SmartPtr.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1014 7ec92016-0320-0410-acc4-a06ded1c099a
2009-04-11 06:02:59 +00:00
rich_sposato
c93b2e11d1 Added code to demonstrate how SmartPtr preserves constness through type-safety.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@986 7ec92016-0320-0410-acc4-a06ded1c099a
2009-02-17 05:25:13 +00:00
syntheticpp
1ca2df042d GCC 4.3 fixes: at least compile
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@897 7ec92016-0320-0410-acc4-a06ded1c099a
2008-08-08 22:53:19 +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
rich_sposato
281d57aa5e Added another test for StrongPtr.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@816 7ec92016-0320-0410-acc4-a06ded1c099a
2007-03-01 01:24:43 +00:00
rich_sposato
cc0392d433 Added tests for StrongPtr comparison operators.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@805 7ec92016-0320-0410-acc4-a06ded1c099a
2007-01-13 01:47:23 +00:00
rich_sposato
59bc51b565 Added test for LockedStorage policy.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@784 7ec92016-0320-0410-acc4-a06ded1c099a
2006-11-21 01:37:15 +00:00
syntheticpp
a35442b5d1 subversion uses Id instead of Header
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@760 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-17 20:36:13 +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
b849c0261e add test code for template friends with template template parameters
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@733 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-17 10:09:37 +00:00
syntheticpp
8c497d146d by default Loki is compiled without thread support, so we must disable the dependency on thread classes (StrongPtr) to avaoid linker errors when compiling with the default build process. Should we change the default threading of Loki?
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@729 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-16 11:48:13 +00:00
rich_sposato
d04a1b1f76 Added check for -t command line parameter to do lock-thread test.
Changed ending chars of some lines from LF to CR-LF to be consistent.


git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@712 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-13 23:59:42 +00:00
syntheticpp
71a95f5005 test injected friends. Thanks to Sigoure Benoit
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@710 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-11 11:17:53 +00:00
syntheticpp
2a1e54aec3 don't confuse with warnings
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@659 7ec92016-0320-0410-acc4-a06ded1c099a
2006-05-30 14:17:05 +00:00
rich_sposato
a38d02bdd5 Added QueryInterface function to MimicCOM class.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@649 7ec92016-0320-0410-acc4-a06ded1c099a
2006-05-18 05:05:21 +00:00
rich_sposato
4bc6a12222 Added test for thread-safe StrongPtr policy.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@643 7ec92016-0320-0410-acc4-a06ded1c099a
2006-04-28 00:34:21 +00:00
syntheticpp
2a9b1a7bcd remove warnings
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@635 7ec92016-0320-0410-acc4-a06ded1c099a
2006-04-16 14:05:39 +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
syntheticpp
085c66fef9 fix include error
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@613 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-21 20:50:22 +00:00
rich_sposato
47730a3073 Fixed bugs 1452805 and 1451835. Added Merge ability for RefLink policy.
Added more tests for SmartPtr.


git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@610 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-17 22:52:56 +00:00
rich_sposato
e9a1abe64c Fixed bug 1440694 by adding check if rhs is previous neighbor.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@575 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-01 02:08:11 +00:00
rich_sposato
ebd2c77af9 Added test project for Loki::SmartPtr class.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@549 7ec92016-0320-0410-acc4-a06ded1c099a
2006-02-25 01:53:20 +00:00