ext/preprocessor/tuple/remove.bi

This file is part of the <ext/Preprocessor> library API, and can be directly included by user programs.

Summary
ext/preprocessor/tuple/remove.biThis file is part of the <ext/Preprocessor> library API, and can be directly included by user programs.
LicenseCopyright © 2007-2011, FreeBASIC Extended Library Development Group Copyright © 2002, Paul Mensonides
Macros
fbextPP_TupleRemoveremoves the element at position index stored in the tuple tuple of size size.

License

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/p/fb-extended-lib/wiki/License

Macros

fbextPP_TupleRemove

# define fbextPP_TupleRemove(
   size,
   index,
   tuple
) fbextPP_TupleRemove__##size##__##index tuple

removes the element 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 `(a,c)`.

Parameters

sizeis the count of elements in the tuple.
indexis the position of the element to remove.
tupleis the tuple which stores the element to remove.
# define fbextPP_TupleRemove(
   size,
   index,
   tuple
) fbextPP_TupleRemove__##size##__##index tuple
removes the element at position index stored in the tuple tuple of size size.