Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:

| >>>>> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
| 
| Lars> Could you try changing all the std:: to STD:: or LYXSTD:: and
| Lars> then have a
| 
| Lars> #ifdef NEED_STD #define LYXSTD std #else #define LYXSTD #endif
| 
| Would a 
| #ifdef NEED_STD
| #define LYXSTD std::
| #else
| #define LYXSTD
| #endif
| 
| Be OK with you? We could also call it _std_ to be less intrusive.
| 
| However, I agree with Asger that we should use 'using std::foo' when
| necessary, since we are careful enough to avoid calling variables
| `iostream' or `vector'...

Library header files should not put any "using" declarations into
effect.

So debugstream should use std:: to get to the correct namespace.

        Lgb

Reply via email to