7 Aug
2013
7 Aug
'13
8:06 p.m.
AMDG On 08/07/2013 12:48 PM, Eric Niebler wrote:
On 13-08-07 11:58 AM, Nathan Ridge wrote:
According to [1], only BOOST_PP_FOR, BOOST_PP_WHILE, and BOOST_PP_REPEAT are reentrant. Other looping macros, like SEQ_FOR_EACH, are not.
Yes, but [2] indicates that SEQ_FOR_EACH is implemented in terms of FOR and has a _R version for reentry. Why is it provided if it doesn't work?
The _R version is for reentering BOOST_PP_FOR. BOOST_PP_SEQ_FOR_EACH_R itself is not reentrant.
[2] http://www.boost.org/doc/libs/1_54_0/libs/preprocessor/doc/ref/seq_for_each_...
In Christ, Steven Watanabe