Skip to content
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

Additional Extend checks. #32

Merged
merged 12 commits into from
May 3, 2024
Merged

Conversation

helly25
Copy link
Owner

@helly25 helly25 commented May 3, 2024

  • Test for variant support in mbo::Extend.
  • Add concept mbo::types::IsVariant.
  • Add concept mbo::types::HasVariantMember.

* Add concept `mbo::types::IsVariant`.
* Add concept `mbo::types::HasVariantMember`.
@helly25 helly25 requested a review from Fab-Cat May 3, 2024 10:23
helly25 added 10 commits May 3, 2024 10:44
…tructMetaBase` has the field-count independent parts.

* Add new test `//mbo/types/internal:struct_name_test`.
* Correctly detect whether StructNames can work at constexpr time: Unfortunately this requires detection of constexpr destructor as a sign of a literal type and the `std::is_literal_type` was removed in C++20, so we use builtin `__is_literal_type` instead.
@helly25 helly25 merged commit 68dd9b0 into main May 3, 2024
1 check passed
@helly25 helly25 deleted the chore/check_variant_support_20240503 branch May 3, 2024 21: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