Boost logo

Boost Users :

From: Jeff Flinn (TriumphSprint2000_at_[hidden])
Date: 2008-03-06 18:08:06


Alain Leblanc wrote:
> Well, I figured it out. The file 'string.h' also defines a basename()
> function. This is why my program was compiling with different argument
> types. From reading the description I should have noticed I was not
> using the function provided by boost.

I would hope you are not #including string.h you should be including
<string> which puts string in namespace std.

Jeff Flinn


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net