Skip to content

Commit

Permalink
Update vendor
Browse files Browse the repository at this point in the history
  • Loading branch information
tekezo committed Nov 28, 2024
1 parent 0c788f4 commit 43d8076
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Generated by CMake

if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8)
message(FATAL_ERROR "CMake >= 2.8.0 required")
message(FATAL_ERROR "CMake >= 3.1.0 required")
endif()
if(CMAKE_VERSION VERSION_LESS "3.1.0")
message(FATAL_ERROR "CMake >= 3.1.0 required")
endif()
cmake_policy(PUSH)
cmake_policy(VERSION 3.1.0...3.28)
cmake_policy(VERSION 3.1.0...3.29)
#----------------------------------------------------------------
# Generated CMake target import file.
#----------------------------------------------------------------
Expand Down
28 changes: 14 additions & 14 deletions tests/vendor/cget/pkg/boost-ext__ut/install/include/boost/ut.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export import std;
#elif not defined(__cpp_static_assert)
#error "[Boost::ext].UT requires support for static assert";
#else
#define BOOST_UT_VERSION 2'1'0
#define BOOST_UT_VERSION 2'1'1

#if defined(__has_builtin) and defined(__GNUC__) and (__GNUC__ < 10) and \
not defined(__clang__)
Expand Down Expand Up @@ -105,11 +105,11 @@ export import std;
#include <source_location>
#endif

struct unique_name_for_auto_detect_prefix_and_suffix_lenght_0123456789_struct_ {
struct unique_name_for_auto_detect_prefix_and_suffix_length_0123456789_struct_ {
};

BOOST_UT_EXPORT
namespace boost::inline ext::ut::inline v2_1_0 {
namespace boost::inline ext::ut::inline v2_1_1 {
namespace utility {
template <class>
class function;
Expand Down Expand Up @@ -298,29 +298,29 @@ template <typename TargetType>

inline constexpr const std::string_view raw_type_name =
get_template_function_name_use_decay_type<
unique_name_for_auto_detect_prefix_and_suffix_lenght_0123456789_struct_>();
unique_name_for_auto_detect_prefix_and_suffix_length_0123456789_struct_>();

inline constexpr const std::size_t raw_length = raw_type_name.length();
inline constexpr const std::string_view need_name =
#if defined(_MSC_VER) and not defined(__clang__)
"struct "
"unique_name_for_auto_detect_prefix_and_suffix_lenght_0123456789_struct_";
"unique_name_for_auto_detect_prefix_and_suffix_length_0123456789_struct_";
#else
"unique_name_for_auto_detect_prefix_and_suffix_lenght_0123456789_struct_";
"unique_name_for_auto_detect_prefix_and_suffix_length_0123456789_struct_";
#endif
inline constexpr const std::size_t need_length = need_name.length();
static_assert(need_length <= raw_length,
"Auto find prefix and suffix lenght broken error 1");
"Auto find prefix and suffix length broken error 1");
inline constexpr const std::size_t prefix_length =
raw_type_name.find(need_name);
static_assert(prefix_length != std::string_view::npos,
"Auto find prefix and suffix lenght broken error 2");
"Auto find prefix and suffix length broken error 2");
static_assert(prefix_length <= raw_length,
"Auto find prefix and suffix lenght broken error 3");
inline constexpr const std::size_t tail_lenght = raw_length - prefix_length;
static_assert(need_length <= tail_lenght,
"Auto find prefix and suffix lenght broken error 4");
inline constexpr const std::size_t suffix_length = tail_lenght - need_length;
"Auto find prefix and suffix length broken error 3");
inline constexpr const std::size_t tail_length = raw_length - prefix_length;
static_assert(need_length <= tail_length,
"Auto find prefix and suffix length broken error 4");
inline constexpr const std::size_t suffix_length = tail_length - need_length;

} // namespace detail

Expand Down Expand Up @@ -3324,7 +3324,7 @@ using operators::operator not;
using operators::operator|;
using operators::operator/;
using operators::operator>>;
} // namespace boost::inline ext::ut::inline v2_1_0
} // namespace boost::inline ext::ut::inline v2_1_1

#if (defined(__GNUC__) || defined(__clang__) || defined(__INTEL_COMPILER)) && \
!defined(__EMSCRIPTEN__)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Generated by CMake

if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8)
message(FATAL_ERROR "CMake >= 2.8.0 required")
message(FATAL_ERROR "CMake >= 3.1.0 required")
endif()
if(CMAKE_VERSION VERSION_LESS "3.1.0")
message(FATAL_ERROR "CMake >= 3.1.0 required")
endif()
cmake_policy(PUSH)
cmake_policy(VERSION 3.1.0...3.28)
cmake_policy(VERSION 3.1.0...3.29)
#----------------------------------------------------------------
# Generated CMake target import file.
#----------------------------------------------------------------
Expand Down

0 comments on commit 43d8076

Please sign in to comment.