8000 Improved comparison support by helly25 · Pull Request #167 · helly25/mbo · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Improved comparison support #167

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 25, 2025
Merged

Improved comparison support #167

merged 2 commits into from
Jun 25, 2025

Conversation

helly25
Copy link
Owner
@helly25 helly25 commented Jun 25, 2025
  • Added function CompareArithmetic which compares two values that are scalar-numbers (including foat/double and pointers, but not allowing references).
  • Added function CompareIntegral which compares two values that are integral-numbers (no float/double, no pointers, no references).
  • Added function CompareScalar which compares two values that are numbers/scalar (including pointers, no references).
  • Added concept IsArithmetic uses std::is_arithmetic_v<T>.
  • Added concept IsIntegral uses std::is_integral_v<T>.
  • Added concept IsScalar uses std::is_scalar_v<T>.

helly25 added 2 commits June 25, 2025 20:34
* Added function `CompareArithmetic` which compares two values that are numbers (not including pointers).
* Added function `CompareScalar` which compares two values that are numbers/scalar (including pointers).
* Added concept `IsArithmetic` uses `std::is_arithmetic_v<T>`.
* Added concept `IsScalar` uses `std::is_scalar_v<T>`.
@helly25 helly25 enabled auto-merge (squash) June 25, 2025 18:56
@helly25 helly25 requested a review from Fab-Cat June 25, 2025 18:56
@helly25 helly25 merged commit 3337f74 into main Jun 25, 2025
20 checks passed
@helly25 helly25 deleted the feat/comparisons_20250625 branch June 25, 2025 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0