Gennaro Prota
0c5e5b8e58
Fix our deduction guide
2025-12-19 18:26:40 +01:00
Gennaro Prota
2175496c55
Condition the NTTP tests on __cpp_nontype_template_args
...
They were conditioned on detection of C++20 via __cplusplus, but Clang
10 and 11 don't support class types as NTTP, even though they report
C++20 via __cplusplus when -std=c++20 is used.
2025-12-19 18:23:33 +01:00
Gennaro Prota
aee3c62957
Apply the workaround in the previous commit to Clang 3.7 and 9-19, too
...
Reason: They have the same issue as GCC 9.
2025-12-19 18:23:33 +01:00
Gennaro Prota
0e28b358dc
Work around GCC 9 rejecting a legitimate pointer comparison in a constexpr context
2025-12-19 18:23:33 +01:00
Gennaro Prota
4dcfb39494
Replace the implementation of cxper_char_traits::move() with a simpler one
...
Reason: See the new code comment.
2025-12-19 18:23:33 +01:00
Krystian Stasiowski
67efdf6a9b
Make basic_static_string usable as a NTTP
2025-12-19 18:23:33 +01:00
Gennaro Prota
a526ebd1f6
Check that basic_static_string can be constructed and assigned from a C-style string in a constexpr context
...
This triggers a libstdc++ issue which was fixed in GCC 12.4 and 13.3:
<https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113200 >. If our CI shows
we bump into that bug, we'll add a workaround.
2025-12-16 10:30:33 +01:00
Alexander Grund
6f17b60377
Guard test requiring string_view
2025-10-24 10:11:37 +02:00
alandefreitas
ac84c4f40e
string_view interoperability
...
fix #26
2023-01-19 19:57:32 -03:00
m-peko
c5df271a1a
Remove trailing spaces
2021-10-25 07:27:47 -04:00
Krystian Stasiowski
e7e54b2665
Fix throwing in constexpr and substr for gcc 5
2020-03-11 22:47:15 -04:00
Krystian Stasiowski
b7de5db7b8
Change C++ constexpr to use pseudo char_traits
2020-03-11 22:47:15 -04:00
Krystian Stasiowski
c47cdb5f9e
Fix C4800 on msvc
2020-02-28 20:41:37 -05:00
Krystian Stasiowski
9bb941401d
Fix syntax
2020-02-28 16:44:48 -05:00
Krystian Stasiowski
c3e4148ee2
Fix msvc warning
2020-02-28 16:03:23 -05:00
Krystian Stasiowski
d75f97bca5
Remove unused variable warnings
2020-02-28 14:21:09 -05:00
Krystian Stasiowski
971b663df1
Remove more warnings in tests
2020-02-28 14:08:21 -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
1ca7253c14
Make erase follow preconditions
2020-02-15 17:44:52 -05:00
Krystian Stasiowski
d59feba138
Fix C++14 tests
2020-02-03 10:25:37 -05:00
Krystian Stasiowski
d3f51ecab2
Remove unused alias, explicitly specify private inheritence
2020-02-03 01:06:37 -05:00
Krystian Stasiowski
6dcda053a3
Fix guards
2020-02-02 23:59:51 -05:00
Krystian Stasiowski
479c10b193
Fix guard for constexpr tests
2020-02-02 23:26:47 -05:00
Krystian Stasiowski
9772809002
Update tests
2020-02-02 23:21:36 -05:00
Krystian Stasiowski
4d8d35acc8
Fix macro guarding test traits
2020-02-01 21:24:46 -05:00
Krystian Stasiowski
2fe445f634
Update config, fix checks
2020-02-01 21:19:29 -05:00
Krystian Stasiowski
c34bd74d69
Adjust tests
2020-02-01 20:34:33 -05:00
Krystian Stasiowski
34ba5ea870
Fix use of null term, added C++17 and 20 tests
2020-01-07 13:06:06 -05:00
Krystian Stasiowski
26b9f7df27
More constexpr friendly replace and insert with is_constant_evaluated
2020-01-03 19:01:34 -05:00
Krystian Stasiowski
18e6af9cee
More constexpr for find_meow, more constexpr tests
2020-01-03 16:59:34 -05:00
Krystian Stasiowski
cd32cadc08
Fix version guard
2020-01-01 11:50:01 -05:00
Krystian Stasiowski
2b89b7d5a6
More constexpr tests
2020-01-01 11:29:40 -05:00