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

assignable temporaries proposal with -fpermissive #257

Open
stsp opened this issue Jan 3, 2025 · 1 comment
Open

assignable temporaries proposal with -fpermissive #257

stsp opened this issue Jan 3, 2025 · 1 comment

Comments

@stsp
Copy link
Member

stsp commented Jan 3, 2025

This comment:
#56 (comment)
and the no_pnew branch (1db08dd)
represent the proposal of using assignable
temporaries under gcc with -fpermissive,
instead of placement new+(currently missing)
explicit lifetime management.

As gcc is finally supported, this can be
tried out. Needs to resolve the conflicts
with no_pnew branch first.

@stsp
Copy link
Member Author

stsp commented Jan 3, 2025

Whether or not this is interesting
if/when we switch to c++23 and use
explicit lifetime management, needs
to be evaluated. The aforementioned
comment states:

Even if the c++23
solution is applied, the alternatives will
remain still interesting, for example from
the gcc porting stand-point. They will then
migrate to https://github.com/dosemu2/fdpp/issues/225

But #225 is already closed...

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

No branches or pull requests

1 participant