Boost logo

Boost :

From: rwgk_at_[hidden]
Date: 2001-03-28 18:50:24

What about this in a header file:

#include <iostream>

template <class T>
class foo {
    foo(const T& x) {
      using namespace std;
      cout << "a new foo with " << x << endl;

Is this form, too?

--- In boost_at_y..., "David Abrahams" <abrahams_at_m...> wrote:
> ----- Original Message -----
> FWIW, you should tell them that putting a using-directive in a
header file
> is very bad form, because it leads to problems like this one. They
should be
> using namespace qualification to get at everything in headers.
> -Dave

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