On 08/04/2014 at 01:56, xxxxxxxx wrote:
I read the manual as that you have to supply two indexes in basearray.
But I think you are right. I give it a try.
Thanks, Pim
_<_div ="memproto" style="font-weight: bold; font-size: 14px; line-height: 22px; font-family: roboto, sans-serif; border-top-width: 1px; border-top-style: solid; border-top-color: rgb150, 170, 209; border-left-width: 1px; border-left-style: solid; border-left-color: rgb150, 170, 209; border-right-width: 1px; border-right-style: solid; border-right-color: rgb150, 170, 209; padding: 6px 0px; color: rgb26, 37, 59; text-shadow: rgba255, 255, 255, 0.901961 0px 1px 1px; -: http://kinug.com/c4d/cpp/help/pages/c4d_miscav_f.png; : rgb220, 226, 239; -shadow: rgba0, 0, 0, 0.14902 5px 5px 5px; -webkit--shadow: rgba0, 0, 0, 0.14902 5px 5px 5px; border-top-right-radius: 4px; border-top-left-radius: 4px; -repeat: repeat no-repeat;"_>_void Swap |
( |
Iterator |
a, |
|
Iterator |
b |
) |
|
inline_> |
_<_div ="memdoc" style="font-size: 14px; line-height: 22px; font-family: roboto, sans-serif; border-width: 0px 1px 1px; border-bottom-style: solid; border-bottom-color: rgb150, 170, 209; border-left-style: solid; border-left-color: rgb150, 170, 209; border-right-style: solid; border-right-color: rgb150, 170, 209; padding: 6px 10px 2px; -: http://kinug.com/c4d/cpp/help/pages/c4d_miscav_g.png; -shadow: rgba0, 0, 0, 0.14902 5px 5px 5px; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; -webkit--shadow: rgba0, 0, 0, 0.14902 5px 5px 5px; -repeat: repeat no-repeat;"_>_epeat no-repeat;">
Swaps elements a and b (equivalent to global Swap(array[a], array **)
Parameters
[in]| a| Position of element to be swapped.
[in] |
b |
Position of elemen_<_t_>_ be swapped. |