|
Boost : |
Subject: [boost] [boost.preprocessor.iteration] relative file iteration not supported
From: Adrian H (adrianh.bsc_at_[hidden])
Date: 2013-05-03 01:51:39
Hello, I have used Boost in the past and do like the use of the
preprocessor as a way of making repetitious code. However, I found that in
a project that I was working on, I needed the ability to iterate over a
file relative to the file I was iterating from, and that file wasn't
relative to any of the include directories. I thought about this and it
makes sense to why it didn't work, but I can see that it can prove to be
inconvenient sometimes when someone wishes to make library header files
relative to each other to allow for flexible positioning of the related
files in the source tree or not have to add new items to the include
directory set.
I have written a preprocessor library to fill this need, but was wondering
if such a library would be of interest to the Boost community. I
deliberately tweaked it to be similar to the Boost Preprocessor Iterator
library, and can be acquired at
https://sourceforge.net/projects/relativeiterate/, including documentation
and an example located in the README.txt file.
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.
Thank you for your time.
Adrian
-- ======================================== Adrian Hawryluk BSc. Computer Science ---------------------------------------- Specialising in: OOD Methodologies in UML OOP Methodologies in C, C++ and more RT Embedded Programming GUI Development ========================================
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk