Mail Archives: djgpp/2000/10/24/14:06:44
Rudolf Polzer wrote:
> And, as I discovered, DJGPP puts all standard library names into the
> global namespace, and recompiling in standard-compliant compilers
> fails.
> Is there a trick to always include the namespace std (or even
> better: to allow a std:: before an identifier causing no harm in DJGPP)?
Yes, you can use 'using namespace std;' and get the same result under
G++ and other recent compilers. In upcoming GCC 3.0 standard library
names will be put in std namespace.
Laurynas
- Raw text -