Boost logo

Boost Users :

Subject: Re: [Boost-users] [preprocessor] Is there an equivalent of "delayed expansion"?
From: Mostafa (mostafa_working_away_at_[hidden])
Date: 2013-04-15 10:58:57


On Mon, 15 Apr 2013 05:42:59 -0700, pfultz2 <pfultz2_at_[hidden]> wrote:

> > Is there an equivalent in boost for delaying the expansion of a macro?
>
> Im not quite sure what you are asking, in your example you aren't
> delaying
> the
> expansion of macro.

I think the correct term I was looking for was rescanning.

> Boost does provide a `BOOST_PP_EXPAND` macro that can be used for this as
> well. It works the same as your `IDENTITY` macro.

Ah, thanks. That's what I was looking for.

Mostafa


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net