Skip to content

Use allocate() instead of allocate_with_default_constructor()#76

Merged
Bike merged 2 commits intomainfrom
allocate_without_default_constructor
Feb 10, 2026
Merged

Use allocate() instead of allocate_with_default_constructor()#76
Bike merged 2 commits intomainfrom
allocate_without_default_constructor

Conversation

@Bike
Copy link
Member

@Bike Bike commented Feb 10, 2026

This lets us simplify Clasp's GC interface by removing the latter. The only difference is that a_w_d_c doesn't cause a compiler error even if the class is actually not default constructor, but that's just a way to hide errors.

Bike added 2 commits February 10, 2026 10:24
This lets us simplify Clasp's GC interface by removing the latter.
The only difference is that a_w_d_c doesn't cause a compiler error
even if the class is actually not default constructor, but that's
just a way to hide errors.
@Bike Bike merged commit 228ca42 into main Feb 10, 2026
0 of 2 checks passed
@Bike Bike deleted the allocate_without_default_constructor branch February 10, 2026 15:54
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.

1 participant