[opensource-dev] Replacement class for LLDynamicArray

Nicky Perian nickyperian at yahoo.com
Fri May 9 05:17:42 PDT 2014


>"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 <nickyperian at 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 <nickyperian at 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.
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/opensource-dev/attachments/20140509/04e108d6/attachment.htm 


More information about the opensource-dev mailing list