2011/1/25 Hossein Haeri
Dear TONGARI,
Where I said <> I meant
, that works fine, just as Edward and Steven said. Well, my working directory is already in my compiler's include path. And, inside Header.hpp, the following line
#define BOOST_PP_FILENAME1
Shouldn't it be
#define BOOST_PP_FILENAME_1
above if it would have been you...
For example, suppose I have a lib called "Lib" that contains a header called
"A.hpp" which includes "A_n_iteration.hpp" placed in the "detail" folder, I
usually do:
/* in A.hpp */
#include
If this is not a bug with a specific compiler, I hope at least it should
be noted in Boost.PP's doc.
It's not. Both quote and angle brackets are mentioned to work in the specs:
http://www.boost.org/doc/libs/1_45_0/libs/preprocessor/doc/ref/filename_x.ht...
It would be fine in the Remarks section to add words like: "quoted filename may not work with some compilers here, such as gcc..."