Skip to content

Commit

Permalink
⬆️ v2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kris-jusiak committed May 3, 2024
1 parent 91a10b7 commit 2b16a02
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.0.0
[ut2] https://github.com/boost-ext/ut2/releases/tag/v2.1.0
```

<a name="perf"></a>
Expand All @@ -307,7 +307,7 @@ int main() {

```cpp
main:
mov rax, qword ptr [rip + cfg<ut::v2_0_0::override>+136]
mov rax, qword ptr [rip + cfg<ut::v2_1_0::override>+136]
inc dword ptr [rax + 24]
mov ecx, dword ptr [rax + 8]
mov edx, dword ptr [rax + 92]
Expand All @@ -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_0_0::cfg<ut::v2_0_0::override>+52]
mov rax, qword ptr [rip + ut::v2_0_0::cfg<ut::v2_0_0::override>+136]
inc dword ptr [rip + ut::v2_1_0::cfg<ut::v2_1_0::override>+52]
mov rax, qword ptr [rip + ut::v2_1_0::cfg<ut::v2_1_0::override>+136]
mov ecx, dword ptr [rax + 8]
mov edx, dword ptr [rax + 92]
dec edx
Expand Down Expand Up @@ -578,7 +578,7 @@ template <class...> inline auto cfg = default_cfg{};
```
```cpp
#define UT2 2'0'0 // Current library version (SemVer)
#define UT2 2'1'0 // 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
Expand Down Expand Up @@ -609,7 +609,7 @@ template <class...> inline auto cfg = default_cfg{};
CPMAddPackage(
Name ut2
GITHUB_REPOSITORY boost-ext/ut2
GIT_TAG v2.0.0
GIT_TAG v2.1.0
)
add_library(ut2 INTERFACE)
target_include_directories(ut2 SYSTEM INTERFACE ${ut2_SOURCE_DIR})
Expand Down
6 changes: 3 additions & 3 deletions ut2
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
// http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef UT2
#define UT2 2'0'0 // SemVer
#define UT2 2'1'0 // SemVer

namespace ut::inline v2_0_0 {
namespace ut::inline v2_1_0 {
namespace type_traits {
template<class, class> inline constexpr auto is_same_v = false;
template<class T> inline constexpr auto is_same_v<T, T> = true;
Expand Down Expand Up @@ -169,7 +169,7 @@ template<class, class> class basic_ostream;
extern basic_ostream<char, char_traits<char>> clog; // only used if defined
} // namespace std

namespace ut::inline v2_0_0 {
namespace ut::inline v2_1_0 {
template<class...>
struct default_cfg {
struct {
Expand Down

0 comments on commit 2b16a02

Please sign in to comment.