From 337ff0b87dd95cc225d7629211540d6b9794408f Mon Sep 17 00:00:00 2001 From: Kris Jusiak Date: Fri, 3 May 2024 08:45:36 -0500 Subject: [PATCH] :arrow_up: v2.1.1 --- README.md | 12 ++++++------ ut2 | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index a673cec..7cd0737 100644 --- a/README.md +++ b/README.md @@ -282,7 +282,7 @@ time $CXX -x c++ -std=c++20 ut2 -c # 0.049s [ut2]: time $CXX benchmark.cpp -std=c++20 -DDISABLE_STATIC_ASSERT_TESTS # 0m0.758s ------------------------------------------------------------------------- [ut] https://github.com/boost-ext/ut/releases/tag/v2.0.1 -[ut2] https://github.com/boost-ext/ut2/releases/tag/v2.1.0 +[ut2] https://github.com/boost-ext/ut2/releases/tag/v2.1.1 ``` @@ -307,7 +307,7 @@ int main() { ```cpp main: - mov rax, qword ptr [rip + cfg+136] + mov rax, qword ptr [rip + cfg+136] inc dword ptr [rax + 24] mov ecx, dword ptr [rax + 8] mov edx, dword ptr [rax + 92] @@ -320,8 +320,8 @@ main: mov dword ptr [rax + 16], 6 lea rcx, [rip + template parameter object for fixed_string mov qword ptr [rax + 24], rcx - inc dword ptr [rip + ut::v2_1_0::cfg+52] - mov rax, qword ptr [rip + ut::v2_1_0::cfg+136] + inc dword ptr [rip + ut::v2_1_1::cfg+52] + mov rax, qword ptr [rip + ut::cfg+136] mov ecx, dword ptr [rax + 8] mov edx, dword ptr [rax + 92] dec edx @@ -578,7 +578,7 @@ template inline auto cfg = default_cfg{}; ``` ```cpp -#define UT2 2'1'0 // Current library version (SemVer) +#define UT2 2'1'1 // Current library version (SemVer) #define UT_RUN_TIME_ONLY // If defined tests will be executed // at run-time + static_assert tests #define UT_COMPILE_TIME_ONLY // If defined only compile-time tests @@ -609,7 +609,7 @@ template inline auto cfg = default_cfg{}; CPMAddPackage( Name ut2 GITHUB_REPOSITORY boost-ext/ut2 - GIT_TAG v2.1.0 + GIT_TAG v2.1.1 ) add_library(ut2 INTERFACE) target_include_directories(ut2 SYSTEM INTERFACE ${ut2_SOURCE_DIR}) diff --git a/ut2 b/ut2 index d497c58..18bbd33 100644 --- a/ut2 +++ b/ut2 @@ -6,9 +6,9 @@ // http://www.boost.org/LICENSE_1_0.txt) // #ifndef UT2 -#define UT2 2'1'0 // SemVer +#define UT2 2'1'1 // SemVer -namespace ut::inline v2_1_0 { +namespace ut::inline v2_1_1 { namespace type_traits { template inline constexpr auto is_same_v = false; template inline constexpr auto is_same_v = true; @@ -169,7 +169,7 @@ template class basic_ostream; extern basic_ostream> clog; // only used if defined } // namespace std -namespace ut::inline v2_1_0 { +namespace ut::inline v2_1_1 { template struct default_cfg { struct {