std::vector default default and move constructors
François Dumont
frs.dumont@gmail.com
Thu Jan 11 06:41:00 GMT 2018
Hi
   Here is an updated patch.
   Tested under Linux x86_64.
   Ok to commit ?
François
On 21/08/2017 21:15, François Dumont wrote:
> Following feedback on std::list patch this one had the same problem of
> unused code being deleted. So here is a new version.
>
> Ok to commit ?
>
> François
>
> On 28/07/2017 18:45, François Dumont wrote:
>> Hi
>>
>> Â Â Â There was a little issue in this patch, here is the correct version.
>>
>> François
>>
>>
>> On 23/07/2017 19:41, François Dumont wrote:
>>> Hi
>>>
>>> Â Â Â Is it time now to consider this patch ?
>>>
>>> Â Â Â * include/bits/stl_vector.h
>>> Â Â Â (_Vector_impl_data): New.
>>> Â Â Â (_Vector_impl): Inherit from latter.
>>> Â Â Â (_Vertor_impl(_Vector_impl&&, _Tp_alloc_type&&)): New.
>>> Â Â Â (_Vector_base(_Vector_base&&, const allocator_type&)): Use latter.
>>> Â Â Â (_Vector_base()): Default.
>>> Â Â Â (_Vector_base(size_t)): Delete.
>>> Â Â Â (_Vector_base(_Tp_alloc_type&&)): Delete.
>>> Â Â Â (_Vector_base(_Vector_base&&)): Default.
>>> Â Â Â (vector()): Default.
>>> Â Â Â (vector(vector&&, const allocator_type&, true_type)): New.
>>> Â Â Â (vector(vector&&, const allocator_type&, false_type)): New.
>>> Â Â Â (vector(vector&&, const allocator_type&)): Use latters.
>>>
>>> Tested under linux x86_64.
>>>
>>> François
>>>
>>>
>>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vector.patch
Type: text/x-patch
Size: 11067 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20180111/74e81d9b/attachment.bin>
More information about the Libstdc++
mailing list