Subject: Re: [boost] [preprocessor] nested for_each not working like expected
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2013-08-07 16:06:49
On 08/07/2013 12:48 PM, Eric Niebler wrote:
> On 13-08-07 11:58 AM, Nathan Ridge wrote:
>> According to , only BOOST_PP_FOR, BOOST_PP_WHILE, and BOOST_PP_REPEAT
>> are reentrant. Other looping macros, like SEQ_FOR_EACH, are not.
> Yes, but  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.