>"array[i]" instead of "array.get(i), etc...

old code snip  const Type& get(S32 index) const { return 
std::vector<Type>::operator[](index); }

Is array[i] same as operator[](i) ?

I notice "operator[](i)" is used in the interesting,

Nicky



On Friday, May 9, 2014 6:14 AM, Nicky Perian <nickyper...@yahoo.com> wrote:
 
forgot the link to the standard
> cppreference.com
>
>
> 
> cppreference.com
>optional  (library fundamentals TS) any  (library fundamentals TS) string_view 
> (library fundamentals TS) memory_resource  (library fundamentals TS) 
>Filesystem library  (filesystem TS)   
>View on en.cppreference.com Preview by Yahoo  
>  from #opensl  LiruCookies
>On Friday, May 9, 2014 5:08 AM, Nicky Perian <nickyper...@yahoo.com> wrote:
> 
>bring up lldarray.h from the old version. Look at the underlying code for the 
>std::vector methods that were wrapped there.
>>add #include<vector> where needed. find std::vector method in the standard. 
>>using the standard and the old header modify the code.
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>
>
_______________________________________________
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges

Reply via email to