Boost logo

Boost :

From: Eric Niebler (eric_at_[hidden])
Date: 2003-10-10 11:10:26

Thorsten Ottosen wrote:
> // file my_for_each.hpp
> #include <boost/for_each.hpp>
> #define XX FOR_EACH
> #endef FOR_EACH
> ?

I'm assuming you meant "#undef" there. It won't work. XX will expand to
FOR_EACH, which you've just #undefined. Try it and see.

Eric Niebler
Boost Consulting

Boost list run by bdawes at, gregod at, cpdaniel at, john at