This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] New stream buffer for cin, cout etc.


On Fri, May 02, 2003 at 11:02:28AM -0500, Benjamin Kosnik wrote:
> 
> >If the names are in headers exposed to the user's program, they will need
> >to be uglified, e.g., __gnu_cxx::__basic_stdiobuf.
> 
> I thought this had already been discussed? Extensions are already
> guarded by the namespace itself. Extension classes in std are already
> guarded by the uglified class name.

No, that discussion was derailed by confusion, and never reached
a resolution.

Extension headers that are brought in by standard headers have to be 
uglified.   This may mean that we need both a __basic_stdiobuf and a 
basic_stdiobuf (probably derived from it), the former for use in 
<iostream> and the latter documented for users.

Nathan Myers
ncm-nospam@cantrip.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]