ext/ | |
License | Copyright © 2007-2011, FreeBASIC Extended Library Development Group Copyright © 2002, Paul Mensonides |
Macros | |
fbextPP_ArrayReverse | Reverses the elements in an array. |
Copyright © 2007-2011, FreeBASIC Extended Library Development Group Copyright © 2002, Paul Mensonides
Distributed under the Boost Software License, Version 1.0. See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Distributed under the FreeBASIC Extended Library Group license. See accompanying file LICENSE.txt or copy at http://code.google.com
# define fbextPP_ArrayReverse( array ) ( FBEXT_PP_ARRAY_SIZE(array), FBEXT_PP_TUPLE_REVERSE(FBEXT_PP_ARRAY_SIZE(array), FBEXT_PP_ARRAY_DATA(array)) )
Reverses the elements in an array.
array | An array. |
The new array.
Given an array (4, (a, b, c, d)), this macro will expand to (4, (d, c, b, a)).
Reverses the elements in an array.
# define fbextPP_ArrayReverse( array ) ( FBEXT_PP_ARRAY_SIZE(array), FBEXT_PP_TUPLE_REVERSE(FBEXT_PP_ARRAY_SIZE(array), FBEXT_PP_ARRAY_DATA(array)) )