This file is part of the <ext/Preprocessor> library API, and can be directly included by user programs.
ext/ preprocessor/ tuple/ reverse.bi | This file is part of the <ext/Preprocessor> library API, and can be directly included by user programs. |
License | Copyright © 2009, FreeBASIC Extended Library Development Group Copyright © 2001, Housemarque Oy (http://www.housemarque.com) |
Macros | |
fbextPP_TupleReverse | reverses the order of elements stored in the tuple tuple of size size. |
Copyright © 2009, FreeBASIC Extended Library Development Group Copyright © 2001, Housemarque Oy (http://www.housemarque.com)
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- /p- /fb-extended-lib- /wiki- /License
# define fbextPP_TupleReverse( size, tuple ) fbextPP_TupleReverse__##size tuple
reverses the order of elements stored in the tuple tuple of size size.
For example, if size is `3` and tuple is `(a,b,c)`, then this macro expands to `(c,b,a)`.
size | is the count of elements in the tuple. |
tuple | is the tuple to reverse. |
reverses the order of elements stored in the tuple tuple of size size.
# define fbextPP_TupleReverse( size, tuple ) fbextPP_TupleReverse__##size tuple