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: libstdc++/7680 (related to RFC posted last week)


On Mon, Apr 14, 2003 at 10:07:31AM +0100, Jonathan Wakely wrote:
> > Well, it kinda tromps on the extensions we've been telling users about.
> 
> Yes, the FAQ expicitly tells users to use __gnu_cxx, since the SGI
> extensions such as hash_map are declared in that namespace.
> 
> http://gcc.gnu.org/onlinedocs/libstdc++/faq/index.html#5_4
> 
> jon

The templated demangle struct (demangler interface with allocator control)
is also put inside __gnu_cxx.  See libstdc++-v3/include/bits/demangle.h

namespace __gnu_cxx {
  namespace demangler {
  ...
  }

  // Public interface
  template<typename Allocator>
    struct demangle
    {
      ...
    };
}

It was my understanding that this is were extensions should
be put (Benjam did put it there actually).

Please let me know if it needs to be moved :/

-- 
Carlo Wood <carlo at alinoe dot com>


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