Commit graph

417 commits

Author SHA1 Message Date
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
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
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
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
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
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
syntheticpp
ead67fddf4 make inheriting from Factory possible, thanks to Roland Pabel
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1066 7ec92016-0320-0410-acc4-a06ded1c099a
2009-12-22 11:35:46 +00:00
syntheticpp
21fadb7917 remove UTF-8 BOM
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1065 7ec92016-0320-0410-acc4-a06ded1c099a
2009-12-14 17:01:10 +00:00
syntheticpp
50877c9943 indent 4 spaces
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1064 7ec92016-0320-0410-acc4-a06ded1c099a
2009-11-22 10:55:24 +00:00
syntheticpp
ed74d0efc4 msvc doesn't understand this C++
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1063 7ec92016-0320-0410-acc4-a06ded1c099a
2009-11-21 10:54:19 +00:00
syntheticpp
3a89c4689c utf8
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1062 7ec92016-0320-0410-acc4-a06ded1c099a
2009-11-21 10:47:12 +00:00
syntheticpp
059018191f use foreach in register code, add foreach tests
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1060 7ec92016-0320-0410-acc4-a06ded1c099a
2009-11-21 10:44:08 +00:00
syntheticpp
665abd0b92 add foreach
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1059 7ec92016-0320-0410-acc4-a06ded1c099a
2009-11-21 10:40:59 +00:00
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
8d363ed1bc Added warning to suggest running ThreadLocal test project.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1056 7ec92016-0320-0410-acc4-a06ded1c099a
2009-11-20 06:35:29 +00:00
rich_sposato
3592916b15 Added include statement. Removed const declaration.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1054 7ec92016-0320-0410-acc4-a06ded1c099a
2009-11-14 07:12:39 +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
f16c81d265 Moved thread_local macro code to separate header file. Added more error values to enum family.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1048 7ec92016-0320-0410-acc4-a06ded1c099a
2009-11-02 05:48:02 +00:00
rich_sposato
c447453a8b Added new header to Loki.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1045 7ec92016-0320-0410-acc4-a06ded1c099a
2009-11-02 05:34:21 +00:00
rich_sposato
d723342f30 Changed functions in all policies from public to protected.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1029 7ec92016-0320-0410-acc4-a06ded1c099a
2009-10-07 00:41:02 +00:00
rich_sposato
6281fa4bef Changed functions in ownership policies from public to protected.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1028 7ec92016-0320-0410-acc4-a06ded1c099a
2009-10-07 00:28:23 +00:00
rich_sposato
81b896f459 Replaced assert( IsValid() ) with checker's call to IsValid.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1024 7ec92016-0320-0410-acc4-a06ded1c099a
2009-09-26 23:07:10 +00:00
rich_sposato
350065c291 Fixed bug 2789197 by adding include statement.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1022 7ec92016-0320-0410-acc4-a06ded1c099a
2009-09-26 21:03:36 +00:00
rich_sposato
1663a0b30b Fixed bug 2803535 by adding const qualifier.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1021 7ec92016-0320-0410-acc4-a06ded1c099a
2009-09-26 20:43:11 +00:00
rich_sposato
2d6266ba0b Added explicit qualifier to constructor.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1020 7ec92016-0320-0410-acc4-a06ded1c099a
2009-09-26 20:28:24 +00:00
rich_sposato
c1f17ce2f0 Fixed bug 2831440 by making constructors explicit.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1019 7ec92016-0320-0410-acc4-a06ded1c099a
2009-09-26 20:27:34 +00:00
rich_sposato
76aeea2390 Added ability to compare host to memento.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1017 7ec92016-0320-0410-acc4-a06ded1c099a
2009-09-26 19:40:20 +00:00
syntheticpp
fa3743d524 undo removing warning.
https://sourceforge.net/forum/message.php?msg_id=7564865

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1016 7ec92016-0320-0410-acc4-a06ded1c099a
2009-08-16 20:33:52 +00:00
syntheticpp
c8bd6f516f fix bug
https://sourceforge.net/tracker/?func=detail&atid=396644&aid=2807089&group_id=29557

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1015 7ec92016-0320-0410-acc4-a06ded1c099a
2009-08-16 20:29:58 +00:00
rich_sposato
a1d74d7725 Fixed bug 2747377 by changing order of operands.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1013 7ec92016-0320-0410-acc4-a06ded1c099a
2009-04-11 06:01:06 +00:00
rich_sposato
e35ba7770e Added structs to declare typedefs for various exception policies.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1012 7ec92016-0320-0410-acc4-a06ded1c099a
2009-03-31 21:56:08 +00:00
jfbastien
433534f136 Bug 2690414: flex_string missing swap implementation
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1011 7ec92016-0320-0410-acc4-a06ded1c099a
2009-03-17 18:21:12 +00:00
jfbastien
b170379f32 Bug 2686155: flex_string is missing input_iterator methods
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1009 7ec92016-0320-0410-acc4-a06ded1c099a
2009-03-13 13:54:51 +00:00
jfbastien
a2e99a55dd Cosmetic: remove trailing spaces.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1008 7ec92016-0320-0410-acc4-a06ded1c099a
2009-03-13 12:07:15 +00:00
jfbastien
a251ebcc12 Bug 2665120: flex_string fatal error assigning big string to small
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1007 7ec92016-0320-0410-acc4-a06ded1c099a
2009-03-13 11:39:47 +00:00
jfbastien
0174e55298 Bug 2684989: flex_string insert char fails with SmallStringOpt
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1006 7ec92016-0320-0410-acc4-a06ded1c099a
2009-03-12 12:28:58 +00:00
jfbastien
208bbae624 Bug 2679853: flex_string cannot insert from current string.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1005 7ec92016-0320-0410-acc4-a06ded1c099a
2009-03-11 17:58:49 +00:00
jfbastien
7b99eeed7b Add note on bug #2679853.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1004 7ec92016-0320-0410-acc4-a06ded1c099a
2009-03-10 19:58:26 +00:00
jfbastien
12a3a50e8e Bug #2666059: cap buffer size to 126.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1001 7ec92016-0320-0410-acc4-a06ded1c099a
2009-03-05 22:04:56 +00:00
jfbastien
a34780ce1e Cache call to size() in find(): it wasn't being optimized out.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1000 7ec92016-0320-0410-acc4-a06ded1c099a
2009-03-05 21:12:02 +00:00
jfbastien
f167b31cbb Typo.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@997 7ec92016-0320-0410-acc4-a06ded1c099a
2009-03-05 12:21:52 +00:00