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

p1039 - Flexible Array Members for C++29 #9

Open
ThePhD opened this issue Jan 18, 2019 · 5 comments
Open

p1039 - Flexible Array Members for C++29 #9

ThePhD opened this issue Jan 18, 2019 · 5 comments
Assignees
Labels
enhancement New feature or request orcs [design.ewg] To be mulled over by the rowdy, unpredictable, rambunctious featureists in Evolution.
Milestone

Comments

@ThePhD
Copy link
Owner

ThePhD commented Jan 18, 2019

This paper just need to be updated to fix typos and other stuff in it to be resubmitted. I don't expect it to be seriously considered at all until literally 1 year from now.

Fixes include looking at sized deletion operation and adding a callout to allow for that to delete things in a special manner (http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0722r1.html). The other is to look at the analogous thing for new, however @griwes has greatly warned me of this and @Morwenn has informed me that operator new's current 18 overloads are very much frowned upon.

I don't know if I have a way forward for this one, so I might can it for Pre-Kona and look to just fix it later in C++23.

@ThePhD ThePhD added the enhancement New feature or request label Jan 18, 2019
@ThePhD ThePhD added this to the Pre-Kona-2019 milestone Jan 18, 2019
@ThePhD ThePhD self-assigned this Jan 18, 2019
@ThePhD ThePhD modified the milestones: Pre-Kona-2019, C++23 Jan 18, 2019
@ThePhD ThePhD changed the title p1039 - Flexible Array Members for Pre-Kona C++23 p1039 - Flexible Array Members for Kona C++23 Jan 18, 2019
@ThePhD
Copy link
Owner Author

ThePhD commented Jan 18, 2019

Supersedes #1.

@ThePhD ThePhD changed the title p1039 - Flexible Array Members for Kona C++23 p1039 - Flexible Array Members for C++23 Jan 18, 2019
@Morwenn
Copy link
Collaborator

Morwenn commented Jan 18, 2019

The comments about adding new overloads to new: http://wiki.edg.com/bin/view/Wg21sandiego2018/P0894R0

@ThePhD ThePhD added orcs [design.ewg] To be mulled over by the rowdy, unpredictable, rambunctious featureists in Evolution. and removed orcs [design.ewg] To be mulled over by the rowdy, unpredictable, rambunctious featureists in Evolution. labels Jun 10, 2019
@ThePhD
Copy link
Owner Author

ThePhD commented Jul 17, 2019

@Leandros @ubsan The feedback was strongly positive from Today's C++ Standard Meeting about solving the Flexible Array Member paper. They want far more thought put into doing things like:

  • deleting special members
  • making sure to retain C compatbility
  • spelling out that there are cases where derivation are fine

An implementation of this would likely make this sail through EWG Incubator and EWG.

@Leandros
Copy link
Collaborator

That's good news!

@ThePhD
Copy link
Owner Author

ThePhD commented Jul 18, 2019

Mostly good: they voted to solve Flexible Array Members, but definitely wanted the paper to really be put to the grinder and heavily improved. There are a lot of corner cases and things we need to prove out.

@ThePhD ThePhD changed the title p1039 - Flexible Array Members for C++23 p1039 - Flexible Array Members for C++29 Jun 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request orcs [design.ewg] To be mulled over by the rowdy, unpredictable, rambunctious featureists in Evolution.
Projects
None yet
Development

No branches or pull requests

3 participants