@@ -57,7 +57,7 @@ export import std;
57
57
#elif not defined(__cpp_static_assert)
58
58
#error "[Boost::ext].UT requires support for static assert";
59
59
#else
60
- #define BOOST_UT_VERSION 2'1'0
60
+ #define BOOST_UT_VERSION 2'1'1
61
61
62
62
#if defined(__has_builtin) and defined(__GNUC__) and (__GNUC__ < 10) and \
63
63
not defined (__clang__)
@@ -105,11 +105,11 @@ export import std;
105
105
#include < source_location>
106
106
#endif
107
107
108
- struct unique_name_for_auto_detect_prefix_and_suffix_lenght_0123456789_struct_ {
108
+ struct unique_name_for_auto_detect_prefix_and_suffix_length_0123456789_struct_ {
109
109
};
110
110
111
111
BOOST_UT_EXPORT
112
- namespace boost ::inline ext::ut::inline v2_1_0 {
112
+ namespace boost ::inline ext::ut::inline v2_1_1 {
113
113
namespace utility {
114
114
template <class >
115
115
class function ;
@@ -298,29 +298,29 @@ template <typename TargetType>
298
298
299
299
inline constexpr const std::string_view raw_type_name =
300
300
get_template_function_name_use_decay_type<
301
- unique_name_for_auto_detect_prefix_and_suffix_lenght_0123456789_struct_ >();
301
+ unique_name_for_auto_detect_prefix_and_suffix_length_0123456789_struct_ >();
302
302
303
303
inline constexpr const std::size_t raw_length = raw_type_name.length();
304
304
inline constexpr const std::string_view need_name =
305
305
#if defined(_MSC_VER) and not defined(__clang__)
306
306
" struct "
307
- " unique_name_for_auto_detect_prefix_and_suffix_lenght_0123456789_struct_ " ;
307
+ " unique_name_for_auto_detect_prefix_and_suffix_length_0123456789_struct_ " ;
308
308
#else
309
- " unique_name_for_auto_detect_prefix_and_suffix_lenght_0123456789_struct_ " ;
309
+ " unique_name_for_auto_detect_prefix_and_suffix_length_0123456789_struct_ " ;
310
310
#endif
311
311
inline constexpr const std::size_t need_length = need_name.length();
312
312
static_assert (need_length <= raw_length,
313
- " Auto find prefix and suffix lenght broken error 1" );
313
+ " Auto find prefix and suffix length broken error 1" );
314
314
inline constexpr const std::size_t prefix_length =
315
315
raw_type_name.find(need_name);
316
316
static_assert (prefix_length != std::string_view::npos,
317
- " Auto find prefix and suffix lenght broken error 2" );
317
+ " Auto find prefix and suffix length broken error 2" );
318
318
static_assert (prefix_length <= raw_length,
319
- " Auto find prefix and suffix lenght broken error 3" );
320
- inline constexpr const std::size_t tail_lenght = raw_length - prefix_length;
321
- static_assert (need_length <= tail_lenght ,
322
- " Auto find prefix and suffix lenght broken error 4" );
323
- inline constexpr const std::size_t suffix_length = tail_lenght - need_length;
319
+ " Auto find prefix and suffix length broken error 3" );
320
+ inline constexpr const std::size_t tail_length = raw_length - prefix_length;
321
+ static_assert (need_length <= tail_length ,
322
+ " Auto find prefix and suffix length broken error 4" );
323
+ inline constexpr const std::size_t suffix_length = tail_length - need_length;
324
324
325
325
} // namespace detail
326
326
@@ -3324,7 +3324,7 @@ using operators::operator not;
3324
3324
using operators::operator |;
3325
3325
using operators::operator /;
3326
3326
using operators::operator >>;
3327
- } // namespace boost::inline ext::ut::inline v2_1_0
3327
+ } // namespace boost::inline ext::ut::inline v2_1_1
3328
3328
3329
3329
#if (defined(__GNUC__) || defined(__clang__) || defined(__INTEL_COMPILER)) && \
3330
3330
!defined(__EMSCRIPTEN__)
0 commit comments