Boost logo

Boost Users :

Subject: Re: [Boost-users] [Preprocessor] Generate #include directive with preprocessor
From: Edward Diener (eldiener_at_[hidden])
Date: 2013-02-13 19:20:40


On 2/13/2013 6:43 AM, Adam Badura wrote:
> Is it possible to use preprocessor to generate #include directives (or
> in any other way include the files)?

No it is not possible. You cannot define a macro which expands to other
another macro definition or any other basic preprocessor construct,
including the #include.


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