syntheticpp
647e6ff06a
remove some GCC warnings and update Makefile
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1117 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-29 19:56:39 +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
419efb2c20
Added comment about delete this.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1108 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-20 18:38:13 +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
a6e51efab9
Added ability for StrongPtr to handle arrays.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1106 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-20 17:52:11 +00:00
rich_sposato
a89951c211
Removed #if 0 lines because compiler choked on it.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1103 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-17 02:25:43 +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
cd6a4f5864
Added code to support test of bug 3224518.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1096 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-07 22:51:17 +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
rich_sposato
27f38492bd
Added tests for new single-owner policy classes for StrongPtr.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1081 7ec92016-0320-0410-acc4-a06ded1c099a
2010-10-30 03:12:56 +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
6cc7597d5c
Added new configurations to differentiate between cygwin-gcc and gnu-gcc.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1039 7ec92016-0320-0410-acc4-a06ded1c099a
2009-10-10 23:56:26 +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
rich_sposato
2e2f87c3b1
Added OutputFile path.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@977 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-31 07:27:55 +00:00
syntheticpp
9103a647c4
fix line endings
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@958 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-29 17:38:55 +00:00
rich_sposato
cdc6a92e17
Added MSVC9 project file.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@933 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-21 07:25:52 +00:00
syntheticpp
7f4960c4eb
add link to GCC bug report
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@916 7ec92016-0320-0410-acc4-a06ded1c099a
2008-12-19 13:08:55 +00:00
syntheticpp
0289a9789f
add link to GCC bug report
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@915 7ec92016-0320-0410-acc4-a06ded1c099a
2008-12-19 13:05:51 +00:00
syntheticpp
d397650952
re-add main.cpp, strong.cpp (which does not compile with VC9)
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@913 7ec92016-0320-0410-acc4-a06ded1c099a
2008-12-15 22:23:44 +00:00
syntheticpp
c9a343a15c
idea for bug: Code calls wrong Loki::SmartPtr constructor.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@912 7ec92016-0320-0410-acc4-a06ded1c099a
2008-12-15 22:21:31 +00:00
syntheticpp
d90c065fb9
add eol property
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@909 7ec92016-0320-0410-acc4-a06ded1c099a
2008-12-10 20:24:09 +00:00
rich_sposato
6c4aa78aa5
Adding test case for bug 2080889.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@906 7ec92016-0320-0410-acc4-a06ded1c099a
2008-11-12 07:00:16 +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
rich_sposato
d5c3605ee1
Upgraded project file to MSVC 9.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@888 7ec92016-0320-0410-acc4-a06ded1c099a
2008-07-23 07:49:57 +00:00
rich_sposato
ee05791b21
Adding MSVC 8 files to Loki.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@870 7ec92016-0320-0410-acc4-a06ded1c099a
2008-07-23 02:12:05 +00:00
rich_sposato
289075f35f
Adding Code::Blocks project file to Loki.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@866 7ec92016-0320-0410-acc4-a06ded1c099a
2008-06-26 07:21: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
lfittl
2fdafe3884
- Fix test build failure by using class level threading
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@822 7ec92016-0320-0410-acc4-a06ded1c099a
2007-05-07 14:23:19 +00:00
rich_sposato
b4f940e59b
Added more tests for weak pointer.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@820 7ec92016-0320-0410-acc4-a06ded1c099a
2007-03-07 01:17:51 +00:00
rich_sposato
c95d4ccc74
Fixed compiler error that occurs when using 64 bit pointers.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@817 7ec92016-0320-0410-acc4-a06ded1c099a
2007-03-01 01:54:23 +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
da502b99be
no Log keyword any more, see also http://subversion.tigris.org/faq.html#log-in-source
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@761 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-17 20:48:18 +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
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
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
705122e74c
Fixed a couple of bugs. Added lines to send test info to output. Added
...
use of ScopeGuard. Removed superfluous code.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@715 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-14 00:06:15 +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
rich_sposato
1ae9a874d5
Added LOKI_OBJECT_LEVEL_THREADING to make sure locked object test is done
...
correctly.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@711 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-13 23:56:46 +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
4e99e918b9
use a relative path
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@707 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-11 09:04:02 +00:00