This file is part of the <ext/Preprocessor> library API, and can be directly included by user programs.
ext/ | This file is part of the <ext/Preprocessor> library API, and can be directly included by user programs. |
License | Copyright © 2007-2011, FreeBASIC Extended Library Development Group Copyright © 2001, Housemarque Oy (http://www.housemarque.com) |
Macros | |
fbextPP_TupleElem | gets the element value at position index stored in the tuple tuple of size size. |
Copyright © 2007-2011, 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
# define fbextPP_TupleElem( size, index, tuple ) fbextPP_TupleElem__##size##__##index tuple
gets the element value at position index stored in the tuple tuple of size size.
For example, if size is `3`, index is `1`, and tuple is `(a,b,c)`, then this macro expands to `b`.
size | is the count of elements in the tuple. |
index | is the position of the element value to retrieve. |
tuple | is the tuple which stores the element to retrieve. |
gets the element value at position index stored in the tuple tuple of size size.
# define fbextPP_TupleElem( size, index, tuple ) fbextPP_TupleElem__##size##__##index tuple