Skip to content

Refactor politics and leftovers to use reference_wrapper#711

Open
wvpm wants to merge 1 commit intomasterfrom
refactor_politics_reference_wrapper
Open

Refactor politics and leftovers to use reference_wrapper#711
wvpm wants to merge 1 commit intomasterfrom
refactor_politics_reference_wrapper

Conversation

@wvpm
Copy link
Contributor

@wvpm wvpm commented Feb 25, 2026

Similar to #707 , #708, #709 & #710
This should be most of what those PRs didn't touch.

BaseIssueGroup is replaced with an std::variant. This avoid recasting and improves type safety.

@wvpm wvpm force-pushed the refactor_politics_reference_wrapper branch from d747489 to 6bc573c Compare February 25, 2026 13:40
@wvpm wvpm changed the title Refactor politcs and leftovers to use reference_wrapper Refactor politics and leftovers to use reference_wrapper Feb 25, 2026
@wvpm wvpm force-pushed the refactor_politics_reference_wrapper branch from 6bc573c to 7a01d15 Compare February 25, 2026 14:26
@wvpm wvpm force-pushed the refactor_politics_reference_wrapper branch from 7a01d15 to 4eb45b5 Compare February 25, 2026 21:22
@wvpm wvpm enabled auto-merge February 25, 2026 21:40
@wvpm wvpm force-pushed the refactor_politics_reference_wrapper branch from d0d75d9 to 1173460 Compare February 26, 2026 13:32

#include <concepts/type_traits.hpp>

//bug fix for std::hash & std::equal_to to work with std::reference_wrapper
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
//bug fix for std::hash & std::equal_to to work with std::reference_wrapper
// bug fix for std::hash & std::equal_to to work with std::reference_wrapper

};
}

//bug fix for concepts/type_traits.hpp to work with std::reference_wrapper
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
//bug fix for concepts/type_traits.hpp to work with std::reference_wrapper
// bug fix for concepts/type_traits.hpp to work with std::reference_wrapper

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants