Modernize the comparisons generator by using C++20 concepts. #33

Open
adam wants to merge 13 commits from adam/Alepha:concepts-in-comparisons into master
Owner

The comparisons generation code is from C++17 and C++14, for the most part. C++20 makes a lot of the template metaprogramming easier, here.

It also permits us to finally retire the overload< __LINE__ > trick.

The comparisons generation code is from C++17 and C++14, for the most part. C++20 makes a lot of the template metaprogramming easier, here. It also permits us to finally retire the `overload< __LINE__ >` trick.
adam added 12 commits 2025-11-03 21:46:23 -05:00
adam added 1 commit 2025-11-04 15:42:08 -05:00
* master:
  Modernize (partially) the comparisons header's module namespaces.
  Allow for setting of delimiters.
  Match `noexcept` on `cbegin`/`cend` deletions to std.
  Fixup an example in comments on options.

 Conflicts:
	comparisons.h
adam approved these changes 2025-11-05 20:27:46 -05:00
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u concepts-in-comparisons:adam-concepts-in-comparisons
git checkout adam-concepts-in-comparisons
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Alepha/Alepha#33
No description provided.