Re: [PATCH] refactor Vector

From: Kinkie <gkinkie_at_gmail.com>
Date: Mon, 10 Feb 2014 10:14:11 +0100

On Sun, Feb 9, 2014 at 2:08 AM, Alex Rousskov
<rousskov_at_measurement-factory.com> wrote:
> On 02/08/2014 03:44 PM, Kinkie wrote:
>
>> And I don't see how to reliably get to vector[0] in pre-11 STL. Do you
>> have any clue?
>
> My understanding is that you just do &vector_object[0], but I have not
> tested that.

Confirmed, that or &vector_obj.front() seems to be the standard way.
I'll leave a TODO postc++11, as it seems hackish.

Thanks, I guess that after some testing it's time to merge and then
work on the actual std:: replacement.

-- 
    Francesco
Received on Mon Feb 10 2014 - 09:14:20 MST

This archive was generated by hypermail 2.2.0 : Mon Feb 10 2014 - 12:00:11 MST