[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-commit] gnash ChangeLog libbase/tu_math.h
From: |
Rob Savoye |
Subject: |
Re: [Gnash-commit] gnash ChangeLog libbase/tu_math.h |
Date: |
Sat, 10 Feb 2007 11:26:25 -0700 |
User-agent: |
Thunderbird 1.5.0.9 (X11/20070102) |
strk wrote:
> This introduced the problem Udo reported in the list, as
> 'filebuf' is also defined in std::.
> Try avoiding too broad 'using namespace' directives.
> Better fully qualifying std:: things, or put 'using' directives
> inside functions if you really want to type less.
> Consider also using std::<what> to restrict pollution.
For headers, the std namespace shouldn't be included. All STL elements
should have a std:: prefixed to them instead. It's only in C++ source
files where "using namespace std;" is fine.
- rob -