The BOOST_PP_LIST_AT macro extracts an element in a list.
Usage
BOOST_PP_LIST_AT(list, index)
Arguments
- list
-
The list from which a element is to be extracted.
This list must have at least index + 1 elements.
- index
-
The zero-based position in the list of the element to be extracted.
Remarks
Previously, this macro could not be used inside BOOST_PP_WHILE.
There is no longer any such restriction.
It is more efficient, however, to use BOOST_PP_LIST_AT_D in such a situation.
See Also
Requirements
Sample Code