2
0
mirror of https://github.com/boostorg/nowide.git synced 2026-01-25 06:22:11 +00:00
Commit Graph

16 Commits

Author SHA1 Message Date
Flamefire
b98cdaa47a Include 'Remove uneccessary cast in test_swap
The cast is actually wrong as the return value of  is  already.'
2022-07-13 11:25:19 +00:00
Flamefire
495bbcc11f Include 'Merge pull request #161 from Flamefire/coverity
Fix coverity build'
2022-06-14 15:16:16 +00:00
Flamefire
1119935c51 Include 'Fix sign confusion in filebuf sanity check
The offset in stop_reading is the *negated* amount of chars left in the read buffer which yields the seek offset.
So compare against the min-value.'
2022-05-23 13:53:27 +00:00
Flamefire
fccb720589 Include 'Fix update of standalone branch
Use regular rm because  ignores untracked files'
2021-12-21 14:46:45 +00:00
Flamefire
c70aa022f2 Include 'Merge pull request #97 from Flamefire/upgradeToCxx11
Upgrade to C++11'
2020-05-28 06:43:51 +00:00
Flamefire
5b8bb5d115 Include 'Merge pull request #96 from boostorg/test_standalone
Automatically update standalone branch'
2020-05-13 14:11:33 +00:00
Alexander Grund
6afb3f15ab Deduplicate tests and improve coverage
Every test had the same pattern of a main catching exceptions and
returning 0 or 1 based on that. Factor that into test.hpp.
As most code in test.hpp is only executed on failure and those should
not occur this file is excluded from coverage.

Finally test.hpp is included last and the header to test first
consistently to check for self-sufficient includes.
2020-04-03 16:28:28 +02:00
Alexander Grund
3e0a7e33b1 Fix minor issues and improve stackstring tests
Make some functions protected to derive a test class from stackstring
which can be used to detect wether a stack or heap value is used
Fix or silence issues from static analyser findings
Double-check and handle surrogates in iostream
2020-03-14 17:46:49 +01:00
Alexander Grund
5379ff55b4 Handle/Silence issues from coverity 2020-03-05 16:07:37 +01:00
Alexander Grund
7474cb8b4a Avoid CRT_SECURE_WARNINGS on clang-win 2020-02-24 18:00:48 +01:00
Alexander Grund
2dbe4552c3 Don't use map.at for C++98 compatibility 2020-02-24 13:31:57 +01:00
Alexander Grund
3ff3002a22 Improve performance test
Run multiple times and take mean speed
Present results in a table for easier comparison
Add some tricks to avoid optimization reordering stuff that breaks the benchmark
2020-02-06 16:57:09 +01:00
Alexander Grund
8e08054b42 Reduce max line length to 120 2020-02-04 17:46:48 +01:00
Alexander Grund
7854435d8e Switch pointer alignment to left
Consistency with rest of boost
2020-01-07 21:27:26 +01:00
Alexander Grund
bb2487351f Use west-const
Almost all of boost does, so be nice stay consistent
2020-01-07 21:26:12 +01:00
Alexander Grund
dd2d60eda3 Add benchmark for fstream 2020-01-02 18:47:38 +01:00