rich_sposato
be16975d6a
Moved some code in main.cpp to separate files.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1118 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-29 20:36:38 +00:00
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
4ac9e4f44d
Added text of MIT License.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1116 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-23 00:46:54 +00:00
rich_sposato
d2ca522cca
Added text of MIT License.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1115 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-23 00:46:21 +00:00
rich_sposato
199f8bcade
Added comment about policy incompatibility.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1114 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-21 23:24: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
bec200e5f8
-m
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1112 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-20 23:25:41 +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
80a07d19e8
Added array handling to SmartPtr.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1109 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-20 22:33:34 +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
1d71c6b80f
Added ability for StrongPtr to handle arrays.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1105 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-20 17:51:46 +00:00
rich_sposato
c0847588ea
Added ability for StrongPtr to handle arrays.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1104 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-20 17:51:26 +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
db151ad7b9
Fixed bug 2080889 by adding overload of const Clone function.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1101 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-17 02:19:01 +00:00
rich_sposato
3af86d72a1
Added call to OnDereference to constructor.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1100 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-13 00:50:05 +00:00
rich_sposato
3808e423f2
Fixed bug 3023886 by changing static check to use unnamed enum.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1099 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-09 00:30:44 +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
2e1bf19bdd
Fixed bug 3224518 by adding calls to OnDereference.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1094 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-07 22:46:37 +00:00
rich_sposato
680a00073e
Changed return type for assignment functions.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1093 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-07 20:04:38 +00:00
rich_sposato
bff4655397
Changed test program when working on bug 3106378.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1092 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-07 00:06:19 +00:00
rich_sposato
b8ba216bfb
Changed return statements and define section to fix bug 3106378.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1091 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-06 23:56:29 +00:00
rich_sposato
ee07f3d07f
Added return type and return statements to fix bug 3399654.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1090 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-06 23:21:38 +00:00
rich_sposato
083812bd56
Added include statement to fix bug 3399706.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1089 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-06 23:01:26 +00:00
rich_sposato
5d9ef0ef2c
Moved location of #include statements inside file.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1088 7ec92016-0320-0410-acc4-a06ded1c099a
2011-06-21 08:08:18 +00:00
rich_sposato
4a7c383116
Changed preprocessor statements to provide clarity.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1087 7ec92016-0320-0410-acc4-a06ded1c099a
2011-06-21 03:35:30 +00:00
rich_sposato
1137319d54
Minor changes to preprocessor statements.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1086 7ec92016-0320-0410-acc4-a06ded1c099a
2011-06-21 03:32:19 +00:00
rich_sposato
6cb58ee8cc
Removed trailing whitespaces.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1085 7ec92016-0320-0410-acc4-a06ded1c099a
2011-06-21 03:29:50 +00:00
rich_sposato
2bc8950456
Renamed template parameter to avoid confusion.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1084 7ec92016-0320-0410-acc4-a06ded1c099a
2011-06-21 01:16:29 +00:00
rich_sposato
3706b5d249
Added test for exception handling policies.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1083 7ec92016-0320-0410-acc4-a06ded1c099a
2011-06-21 01:11:50 +00:00
rich_sposato
904bbee76d
Added ExceptionPolicy enum.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1082 7ec92016-0320-0410-acc4-a06ded1c099a
2011-06-21 01:07:22 +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
rich_sposato
a381009fee
Added 3 new policy classes to support single-owner smart
...
pointers. Fixed 2 obscure bugs in TwoRefLinks policy.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1080 7ec92016-0320-0410-acc4-a06ded1c099a
2010-10-30 03:11:07 +00:00
rich_sposato
21f46072bd
Added 3 new policy classes to support single-owner smart
...
pointers. Changed how ResetPolicy classes get called.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1079 7ec92016-0320-0410-acc4-a06ded1c099a
2010-10-30 03:09:25 +00:00
rich_sposato
75ce7d41ba
Used initialization instead of assignment within constructor.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1078 7ec92016-0320-0410-acc4-a06ded1c099a
2010-09-16 17:32:24 +00:00
rich_sposato
dca1d96724
Used initialization instead of assignment within constructor.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1077 7ec92016-0320-0410-acc4-a06ded1c099a
2010-09-16 17:28:52 +00:00
rich_sposato
9c85634334
Used initialization instead of assignment within constructor.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1076 7ec92016-0320-0410-acc4-a06ded1c099a
2010-09-16 17:26:29 +00:00
rich_sposato
ac54d187bc
Replaced repeated calculation with local variable.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1075 7ec92016-0320-0410-acc4-a06ded1c099a
2010-09-16 17:23:59 +00:00
rich_sposato
d617910699
Used initialization instead of assignment within constructor.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1074 7ec92016-0320-0410-acc4-a06ded1c099a
2010-09-16 17:22:53 +00:00
rich_sposato
92aa90cc6f
Fixed bug 3061653 by adding code to check pointers to chunks before searching. Fixed bug 3061659 by checking for empty list.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1073 7ec92016-0320-0410-acc4-a06ded1c099a
2010-09-08 02:22:28 +00:00
rich_sposato
edac001bf0
Some coding style changes. Added namespace resolution.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1072 7ec92016-0320-0410-acc4-a06ded1c099a
2010-09-08 01:58:51 +00:00
rich_sposato
b82b7f94aa
Put some code within Loki::Private namespace.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1071 7ec92016-0320-0410-acc4-a06ded1c099a
2010-09-08 01:03:21 +00:00
rich_sposato
1b9364270f
Replaced NULL with nullptr.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1070 7ec92016-0320-0410-acc4-a06ded1c099a
2010-09-08 00:48:29 +00:00
rich_sposato
6bc2851497
Loki header files now all have consistent include statement style.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1069 7ec92016-0320-0410-acc4-a06ded1c099a
2010-04-19 03:09:59 +00:00