Re: include headers: <X>, <X.h> and global namespaces
From: Ioannis Vranos (ivr_at_guesswh.at.grad.com)
Date: 06/22/04
- Next message: Victor Bazarov: "Re: swap two integers without using a tmp variable?"
- Previous message: Richard Herring: "Re: swap two integers without using a tmp variable?"
- In reply to: Jack Klein: "Re: include headers: <X>, <X.h> and global namespaces"
- Next in thread: tom_usenet: "Re: include headers: <X>, <X.h> and global namespaces"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 22 Jun 2004 16:12:31 +0300
Jack Klein wrote:
> Since you ventured into the realm of opinion, the thing one *should*
> do when defining new versions of standard library facilities is to
> *not*, under any circumstances, give them the name of standard
> functions or types, even if do so in such a way that there is no
> collision. Doing so is a monstrous crime.
Yes however standard library facilities are defined in namespace std
(except of the .h header file cases of the C subset).
Also can't one write his own versions of standard library facilities in
his own namespace?
Regards,
Ioannis Vranos
- Next message: Victor Bazarov: "Re: swap two integers without using a tmp variable?"
- Previous message: Richard Herring: "Re: swap two integers without using a tmp variable?"
- In reply to: Jack Klein: "Re: include headers: <X>, <X.h> and global namespaces"
- Next in thread: tom_usenet: "Re: include headers: <X>, <X.h> and global namespaces"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]