The BOOST_PP_SEQ_REPLACE macro replaces an element in a seq.
Usage
BOOST_PP_SEQ_RPLACE(seq, i, elem)
Arguments
- seq
-
The seq in which an element is to be replaced.
- i
-
The zero-based position in seq of the element to be replaced.
Valid values range from 0 to BOOST_PP_SEQ_SIZE(seq) - 1.
- elem
-
The element to replace the element at index i within seq.
Remarks
This macro returns seq after replacing the element at index i with
elem.
Requirements
Sample Code