[iterator] multiple definitions with zip_iterator

Hi, I think I am getting a problem with multiple definitions of tuple_equal(tuples::null_type, tuples::null_type) when I compile zip_iterator.hpp into two separate libraries and link these into an executable. I am using msvc 8. I made the function static and that allowed me to link the executable. I am not sure if that is the correct solution. Chris

The solution is to declare the function inline. The problem is already known (it was mentioned a long time ago on this list) but I don't know why the patch hasn't been applied yet.

Actually, I see now that it is patched in the CVS. On 8/29/06, Kevin Sopp <baraclese@googlemail.com> wrote:
The solution is to declare the function inline. The problem is already known (it was mentioned a long time ago on this list) but I don't know why the patch hasn't been applied yet.
participants (2)
-
Chris Weed
-
Kevin Sopp