Boost logo

Boost :

Subject: [boost] [Preprocessor] Can we generate token for #include programmatically ?
From: Joel Falcou (joel.falcou_at_[hidden])
Date: 2009-05-15 09:39:16


Here is what I had in mind

#define BASE foo.hpp
#include
BOOST_PP_STRINGIZE(BOOST_PP_CAT(nt2/support/numeric/functions/scalar/,BASE))

It fails because it seems we can't paste stuff ending with / ...

Using fiel iteration, how can I circumvent hsi problem and generate a
list of #include whose filename are computed from a sequence of name in
a BOOST_PP_SEQ and a
given, changing, prefix path ?


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