Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/cpp2util.h
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ constexpr auto gcc_clang_msvc_min_versions(
auto msvc
)
{
return gcc_ver > gcc || clang_ver > clang || msvc_ver > msvc;
return gcc_ver >= gcc || clang_ver >= clang || msvc_ver >= msvc;
}


Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
calling: int main(int, char**)
012
an older compiler
a newer compiler
1, 1, 66
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,6 @@ true
true
false
false

Make sure views::take works:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now that GCC 14 is considered newer compiler it is allowed to do this as well.

1 2 3 4 5 2 3 4