-
Notifications
You must be signed in to change notification settings - Fork 840
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
[core] Remove use variable length array #2279
[core] Remove use variable length array #2279
Conversation
I would propose using the |
Could you give some hints about the benefits of |
It is a perfectly fair question, but I have no unambiguously correct answer to it. I will give my thoughts, while I do not insist on using the In this very place, we want to have an array of However,
Thus in this "proposal" my main motivation is the first item from the list above: to show intent it is just an array we don't plan to resize. template <class _Tp, class _Allocator>
class __vector_base
: protected __vector_base_common<true>
{
// ...
pointer __begin_;
pointer __end_;
__compressed_pair<pointer, allocator_type> __end_cap_;
// ...
}
|
d545b83
to
5e914de
Compare
5e914de
to
5d70291
Compare
PR #2298 adds |
No description provided.