Skip to content

Added support for non-wrapping upcast conversions#40

Merged
patrickroberts merged 1 commit intomainfrom
non-wrapping-upcast-conversions
Mar 25, 2026
Merged

Added support for non-wrapping upcast conversions#40
patrickroberts merged 1 commit intomainfrom
non-wrapping-upcast-conversions

Conversation

@patrickroberts
Copy link
Copy Markdown
Collaborator

@patrickroberts patrickroberts commented Mar 23, 2026

This rewrite removes the use of virtual polymorphism, allowing explicit control of the vtable layout to construct an inheritance hierarchy and enable symmetric transfer of storage for conversions between compatible specializations of any_view, rather than performing nested type-erasure.

Closes #36.

@patrickroberts patrickroberts force-pushed the non-wrapping-upcast-conversions branch 9 times, most recently from 9085c9c to 55748ac Compare March 24, 2026 03:13
@patrickroberts patrickroberts force-pushed the non-wrapping-upcast-conversions branch from 55748ac to 44d42c8 Compare March 24, 2026 03:24
@patrickroberts patrickroberts merged commit 749c353 into main Mar 25, 2026
4 checks passed
@patrickroberts patrickroberts deleted the non-wrapping-upcast-conversions branch March 25, 2026 04:33
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.

Converting construction (and assignment)

1 participant