Commit graph

397 commits

Author SHA1 Message Date
rich_sposato
bd84a726a9 Added test for pointer to const object.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1025 7ec92016-0320-0410-acc4-a06ded1c099a
2009-09-26 23:49:05 +00:00
rich_sposato
cbf7550f08 Added year to copyright notice.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1023 7ec92016-0320-0410-acc4-a06ded1c099a
2009-09-26 21:10:43 +00:00
rich_sposato
9b083bd028 Added tests which compare host to memento.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1018 7ec92016-0320-0410-acc4-a06ded1c099a
2009-09-26 19:42:09 +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
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
b1e0c16582 Copy/paste mistake.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1010 7ec92016-0320-0410-acc4-a06ded1c099a
2009-03-13 15:17:59 +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
8642f606d9 Simplify Num2String.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1003 7ec92016-0320-0410-acc4-a06ded1c099a
2009-03-10 19:55:59 +00:00
jfbastien
a27150df64 Refactor some more, and add a bunch of tests. These new tests led me to find bug #2679853.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1002 7ec92016-0320-0410-acc4-a06ded1c099a
2009-03-10 18:36:42 +00:00
jfbastien
2d56e06cff Add a small string optimization test with a buffer of 126.
Cache size() outside the loop for RandomString.
Modify Num2String so that npos is properly taken into account.
Add Tristate2String.
Modify seedForThisIteration so that its value is count + rand() instead of just rand(): using just rand meant that a lot of the initial seeds repeated because the pseudo-randomness of rand isn't good. Adding count should somewhat reduce the repetitions.
I'd consider using another random number generator, rand() is slow and has a bad distribution.


git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@999 7ec92016-0320-0410-acc4-a06ded1c099a
2009-03-05 21:09:20 +00:00
jfbastien
8d792783e0 Use MaxString<String>::value instead of 1000.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@998 7ec92016-0320-0410-acc4-a06ded1c099a
2009-03-05 16:13:57 +00:00
jfbastien
8d19f398f4 There were test failures in release (MSVC 9 with Multi-threaded DLL runtime library) because random and RandomString were called directly as arguments to functions. When this happened more than once in the same function there would sometimes be different results because the order of evaluation of function arguments isn't guaranteed.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@996 7ec92016-0320-0410-acc4-a06ded1c099a
2009-03-04 16:04:41 +00:00
jfbastien
dc9c2b0ed9 Refactor some more. Add tests.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@994 7ec92016-0320-0410-acc4-a06ded1c099a
2009-03-03 22:14:49 +00:00
jfbastien
0e615e0932 Refactor.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@991 7ec92016-0320-0410-acc4-a06ded1c099a
2009-03-02 19:43:49 +00:00
jfbastien
272dc6a91b Fix function selector, some tests weren't being run.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@990 7ec92016-0320-0410-acc4-a06ded1c099a
2009-03-02 16:02:51 +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
2aa35ef4d7 Updated compiler types.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@983 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-31 08:00:14 +00:00
rich_sposato
95a623cace Added OutputFile path.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@981 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-31 07:36:58 +00:00
rich_sposato
8f91f0bfb3 Added OutputFile path.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@980 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-31 07:34:35 +00:00
rich_sposato
2a7f87b3d4 Added OutputFile path.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@978 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-31 07:29:40 +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
rich_sposato
444a7484fa Added OutputFile path.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@976 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-31 07:27:29 +00:00
rich_sposato
d71d93dcee Added OutputFile path.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@975 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-31 07:26:28 +00:00
rich_sposato
f2fe00f914 Added OutputFile path.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@974 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-31 07:24:58 +00:00
rich_sposato
b8fbbcd0ac Added OutputFile path.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@973 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-31 07:24:09 +00:00
rich_sposato
0e98a15791 Added OutputFile path.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@972 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-31 07:22:23 +00:00
rich_sposato
c7e37bacca Added OutputFile path.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@971 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-31 07:21:27 +00:00
rich_sposato
cc1b2ae76d Added OutputFile path.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@970 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-31 07:20:40 +00:00
rich_sposato
67c2fef82e Added OutputFile path.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@969 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-31 07:20:00 +00:00
rich_sposato
39e4c33655 Added OutputFile path.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@968 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-31 07:18:40 +00:00
rich_sposato
8388bf40eb Added OutputFile path.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@967 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-31 07:17:26 +00:00
rich_sposato
0c3949fc07 Added OutputFile path.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@966 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-31 07:15:36 +00:00
rich_sposato
62bf6058fd Added OutputFile path.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@965 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-31 07:14:35 +00:00
rich_sposato
5fa1dc041f Added OutputFile path.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@964 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-31 07:12:19 +00:00
rich_sposato
9ba60666ec Added OutputFile path.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@963 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-31 07:11:28 +00:00
rich_sposato
45c337db76 Added OutputFile path.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@962 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-31 07:10:20 +00:00
rich_sposato
900b8344c5 Added OutputFile path.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@961 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-31 07:08:47 +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
260432c755 Added more code for testing.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@957 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-29 08:30:08 +00:00
rich_sposato
6968fcd422 Added fix for bug.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@949 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-26 02:04:40 +00:00
syntheticpp
b9606b2f13 fix Release build
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@947 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-22 20:44:19 +00:00
syntheticpp
42c40800f9 add msvc9 files
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@946 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-22 20:07:16 +00:00
rich_sposato
cf58904d9e Adding project to version control.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@945 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-22 07:42:15 +00:00
rich_sposato
640240ada2 Made a MSVC9 project file.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@943 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-22 06:53:27 +00:00
rich_sposato
613602d94b Made MSVC9 project file.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@942 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-22 06:39:40 +00:00
rich_sposato
1c2a030672 Added MSVC9 project file.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@939 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-21 07:30:59 +00:00
rich_sposato
c037e669b2 Added MSVC9 project file.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@938 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-21 07:30:17 +00:00
rich_sposato
81cca2d817 Added MSVC9 project file.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@937 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-21 07:29:29 +00:00
rich_sposato
aa57012875 Added MSVC9 project file.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@936 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-21 07:28:22 +00:00