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
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
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
rich_sposato
5cd8ff71a4
Added cvs header keyword.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@519 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-25 18:34:11 +00:00
lfittl
e2a042aa25
- Disabled -Weffc++ flag, fixing these warnings produces too much useless code
...
- Enabled -pedantic, -Wold-style-cast and -Wundef for src/ and test/
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@500 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-20 15:56:11 +00:00
syntheticpp
727b519348
replace tabs
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@419 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 13:03:44 +00:00
syntheticpp
c9fa59ada0
improve test program (gcc fails test 22 and 41)
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@418 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 12:55:42 +00:00
syntheticpp
62be08b797
remove msvc warnings
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@416 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 10:38:07 +00:00
syntheticpp
d5a206bb96
always use #include <loki/...>, Thanks to Lukas Fittl
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@413 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 00:23:44 +00:00
syntheticpp
4a676debee
remove gcc 4.0 warnings, Thanks to Lukas Fittl
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@410 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 00:01:23 +00:00
syntheticpp
36a07386f0
update include path
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@254 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-24 16:39:00 +00:00
syntheticpp
af8bdb7ca2
add test programs
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@216 7ec92016-0320-0410-acc4-a06ded1c099a
2005-08-27 10:38:52 +00:00