Boost logo

Boost :

Subject: Re: [boost] [boost.preprocessor.iteration] relative file iteration not supported
From: Adrian_H (adrianh.bsc_at_[hidden])
Date: 2013-05-05 13:07:25


Paul Mensonides wrote
>> I would appreciate any feedback you may have on this and would be more
>> than
>> willing to make changes to accommodate what would be needed for it to be
>> included into the Boost set.
>
> How do you force relative lookup? I.e. only some preprocessors do
> relative lookup, and the standard does not say anything about it.

Hi Paul,

Having some problems with this mailing list. I'm getting emails from it,
but my messages and your response didn't show. So googled my subject line
and found my thread here on nabble. Odd.

Anyway, in response to your message. It is all in the README file.

I didn't look at the implementation of BOOST_PP_ITERATE() when I wrote it
initially, but after the fact, when I documented it, it turns out that I
broke it up into 3 sections:
  1. REL_ITERATE_INIT() which initialises the defines for the loop to work
  2. REL_ITERATE_NEXT() which increments/decrements the REL_ITERATION()
value(s), and
  3. REL_ITEREATE() which actually reincludes the file, or doesn't if there
is no more iterations left.

For more information, please look at the README. If there is something
there that you have questions about, please feel free to ask.

Adrian

--
View this message in context: http://boost.2283326.n4.nabble.com/boost-preprocessor-iteration-relative-file-iteration-not-supported-tp4646531p4646723.html
Sent from the Boost - Dev mailing list archive at Nabble.com.

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk