Commit Graph

59 Commits

Author SHA1 Message Date
Gennaro Prota
a841869405 Remove a use of std::strcpy() to avoid a C4996 warning from MSVC 2025-10-24 11:00:21 +02:00
Gennaro Prota
7b564d8d26 Fix two macro names in the unit tests 2025-10-22 19:18:39 +02:00
Gennaro Prota
300781d954 Add a resize_and_overwrite() member
Reason: This is in preparation of the next commit. See its commit
message.
2025-10-09 17:45:16 +02:00
Alexander Grund
20afd07676 Pass char arrays instead of static_string instances to testR
Avoid stack overflow in MSVC caused by huge amount of static_string instances

Fixes #70
2025-10-06 17:22:47 +02:00
Alexander Grund
7f903ef7ce Add cxx11_hdr_type_traits B2 requirement
Avoid failures with GCC < 5
2025-10-06 17:22:47 +02:00
Arthur O'Dwyer
37a557d937 Make static_string trivially copyable 2025-10-03 18:42:10 +02:00
Alexander Grund
645bf0a27d Simplify testTS
Replace boolean by check for defaulted nullptr
2025-10-03 12:12:05 +02:00
Alexander Grund
5067dfce5f Use BOOST_TEST_EQ for to_static_string tests using floating point values 2025-10-03 12:12:05 +02:00
Krystian Stasiowski
42bb99ed25 support platforms without wchar_t
closes #51
2023-10-24 14:22:30 -04:00
Krystian Stasiowski
6275cd7fe3 disable string_view overloads when type is convertible to basic_static_string
fixes #47
2023-05-29 10:51:06 -04:00
alandefreitas
ac84c4f40e string_view interoperability
fix #26
2023-01-19 19:57:32 -03:00
alandefreitas
82ff4e0679 static_string<0> does not memcpy
fix #41
2023-01-18 22:09:45 -03:00
alandefreitas
9c3d5febe7 tests include main header 2023-01-18 22:09:31 -03:00
alandefreitas
bfce6eea90 fix unused-function warning 2022-11-03 22:48:35 -07:00
sdarwin
7822f1b991 update CI
fix #31, fix #20
2022-10-31 16:09:33 -07:00
m-peko
c5df271a1a Remove trailing spaces 2021-10-25 07:27:47 -04:00
m-peko
3a1efd2078 Implement erase_if function and related tests 2021-01-18 15:59:20 -05:00
Krystian Stasiowski
3784d039cd Add input iterator tests 2020-03-15 13:32:02 -04:00
Krystian Stasiowski
1f173aad46 Improve coverage 2020-03-12 13:31:00 -04:00
Krystian Stasiowski
5934a28124 Fix operator+ for non-full arrays 2020-03-11 22:47:15 -04:00
Krystian Stasiowski
971b663df1 Remove more warnings in tests 2020-02-28 14:08:21 -05:00
Krystian Stasiowski
bbbc8a6290 Strike more warnings 2020-02-27 16:22:54 -05:00
Krystian Stasiowski
54c5d7cef4 Remove some warnings in tests 2020-02-27 15:51:09 -05:00
Krystian Stasiowski
0e11360cf1 Fix tests 2020-02-23 19:17:58 -05:00
Krystian Stasiowski
73d835e506 Remove debug 2020-02-22 23:34:53 -05:00
Krystian Stasiowski
c0b78c7698 Add more debug 2020-02-22 21:44:34 -05:00
Krystian Stasiowski
cd70147c7d Add back debug for mingw msvc 2020-02-22 21:04:14 -05:00
Krystian Stasiowski
b668307bb6 Remove debug 2020-02-22 20:27:12 -05:00
Krystian Stasiowski
55d7bd2499 Fix test 2020-02-22 20:03:49 -05:00
Krystian Stasiowski
af4394921d Update tests 2020-02-22 19:25:21 -05:00
Krystian Stasiowski
9bd1be2b1b Add debug for weird configurations 2020-02-22 16:31:43 -05:00
Krystian Stasiowski
6bd7010a38 Update to_static_string tests 2020-02-22 16:05:51 -05:00
Krystian Stasiowski
0ae7689cca Remove non-portable tests 2020-02-22 15:57:56 -05:00
Krystian Stasiowski
8f19268b74 Improve coverage 2020-02-22 15:53:01 -05:00
Krystian Stasiowski
b8d458571c Fix to_static_string and improve coverage 2020-02-22 15:43:52 -05:00
Krystian Stasiowski
e7f8fc3bd8 Cleanup overload constraints, improve append 2020-02-21 19:00:54 -05:00
Krystian Stasiowski
38185d5942 Fix weird clang link error 2020-02-21 15:37:22 -05:00
Krystian Stasiowski
1c4184198b Debug clang link error 2020-02-21 15:04:20 -05:00
Krystian Stasiowski
7e1d985b5e Add copy tests 2020-02-21 13:21:59 -05:00
Krystian Stasiowski
7cf8c0aee8 Fix operator+, add tests 2020-02-21 12:44:25 -05:00
Krystian Stasiowski
14ec006701 Improve compare coverage 2020-02-21 11:54:49 -05:00
Krystian Stasiowski
14a846faac Define small functions inline, improve replace and insert coverage 2020-02-21 11:26:27 -05:00
Krystian Stasiowski
5e1808485d Add ostream tests 2020-02-19 20:43:15 -05:00
Krystian Stasiowski
1ca7253c14 Make erase follow preconditions 2020-02-15 17:44:52 -05:00
Krystian Stasiowski
7f2da5d479 Fix handling of precondition violations in insert and replace 2020-02-15 17:00:57 -05:00
Krystian Stasiowski
f8d23212cf Improve coverage 2020-02-14 23:19:57 -05:00
Krystian Stasiowski
2d719fff45 Update tests 2020-02-07 14:49:47 -05:00
Krystian Stasiowski
9772809002 Update tests 2020-02-02 23:21:36 -05:00
Krystian Stasiowski
2fe445f634 Update config, fix checks 2020-02-01 21:19:29 -05:00
Krystian Stasiowski
2b89b7d5a6 More constexpr tests 2020-01-01 11:29:40 -05:00