[ros-dev] tools/rbuild/backend/mingw/modulehandler.h

Royce Mitchell III royce3 at ev1.net
Sat Dec 31 21:15:14 CET 2005


Reuben Perelman wrote:

> Looking at the file, I couldn't understand why MingwModuleHandler:: 
> was being used within the class of the same name, so I removed it from 
> before the definition of the functions. I'm guessing that it was 
> copied from the function definition outside of the class in a .cpp file?
>
Good catch, sorry about that.

> Also, I saw a lot of 'std::'. Why not use 'using namespace std;'?

It's {very} bad practice to put using statements in header files - 
almost as bad as using goto :P





More information about the Ros-dev mailing list