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

Add a type for in place object construction #4

Open
BurningEnlightenment opened this issue Jun 7, 2022 · 0 comments
Open

Add a type for in place object construction #4

BurningEnlightenment opened this issue Jun 7, 2022 · 0 comments
Assignees
Labels
type:task A atomic feature / thing to be implemented

Comments

@BurningEnlightenment
Copy link
Contributor

Problem Description

Using placement new is a hassle due to the disconnect between the byte storage, construction, destruction and access syntax (due to the need to std::launder() the pointer).

Proposed Solution

A template type which binds the required functions, alignment and size requirements.

@BurningEnlightenment BurningEnlightenment added the type:task A atomic feature / thing to be implemented label Jun 7, 2022
@BurningEnlightenment BurningEnlightenment self-assigned this Jun 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:task A atomic feature / thing to be implemented
Projects
None yet
Development

No branches or pull requests

1 participant