$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Gennadiy E. Rozental (rogeeff_at_[hidden])
Date: 2001-09-07 11:07:36
Hi,
I propose following change in sys_allocator.hpp to be able to
compile it with Solaris Forte C++ 6 u.1
Gennadiy.
cvs diff sys_allocator.hpp
Index: sys_allocator.hpp
===================================================================
RCS file: /cvsroot/boost/boost/libs/pool/test/sys_allocator.hpp,v
retrieving revision 1.2
diff -r1.2 sys_allocator.hpp
101c101,123
< #endif
\ No newline at end of file
---
> #if defined(__SGI_STL_PORT) && !defined
(_STLP_MEMBER_TEMPLATE_CLASSES)
>
> namespace std {
>
> template <typename _Tp1, typename _Tp2>
> inline malloc_allocator<_Tp2>&
> __stl_alloc_rebind( malloc_allocator<_Tp1>&, _Tp2 const*)
> {
> return malloc_allocator<_Tp1>::rebind<_Tp2>::other();
> }
>
> template <typename _Tp1, typename _Tp2>
> inline new_delete_allocator<_Tp2>&
> __stl_alloc_rebind( new_delete_allocator<_Tp1>&, _Tp2 const*)
> {
> return new_delete_allocator<_Tp1>::rebind<_Tp2>::other();
> }
>
> } // namespace std
>
> #endif
>
> #endif