Re: [boost] Re: [iostreams] Version of Iostreams compatible with1.32available

Hi Jonathan ----- Mensaje original ----- De: Jonathan Turkanis <technews@kangaroologic.com> Fecha: Domingo, Diciembre 12, 2004 1:10 am Asunto: [boost] Re: [iostreams] Version of Iostreams compatible with1.32available
Has this been tested on Borland 5.x?
No, it hasn't. This utility is a spin-off of multi_index, which does not compile in BCC (for many other reasons.)
I get errors (see end) unless I make the following change at line 132
template<typename Type> struct result:Allocator::BOOST_NESTED_TEMPLATE rebind<Type> { };
==>
template<typename Type> struct result:Allocator::BOOST_NESTED_TEMPLATE rebind<Type> { typedef typename Allocator::BOOST_NESTED_TEMPLATE rebind<Type>::other other; };
Well, your fix is kinda redundant. I guess every compiler will be happy with this instead: template<typename Type> struct result { typedef typename Allocator::BOOST_NESTED_TEMPLATE rebind<Type>::other other; }; If this works for BCC and you could do a quick check that it doesn't break the others (GCC, MSVC), please go ahead and commit to the CVS (thank you!) Joaquín M López Muñoz Telefónica, Investigación y Desarrollo

JOAQUIN LOPEZ MU?Z wrote:
Hi Jonathan
----- Mensaje original ----- De: Jonathan Turkanis <technews@kangaroologic.com> Fecha: Domingo, Diciembre 12, 2004 1:10 am Asunto: [boost] Re: [iostreams] Version of Iostreams compatible with1.32available
Has this been tested on Borland 5.x?
No, it hasn't. This utility is a spin-off of multi_index, which does not compile in BCC (for many other reasons.)
I get errors (see end) unless I make the following change at line 132
template<typename Type> struct result:Allocator::BOOST_NESTED_TEMPLATE rebind<Type> { };
==>
template<typename Type> struct result:Allocator::BOOST_NESTED_TEMPLATE rebind<Type> { typedef typename Allocator::BOOST_NESTED_TEMPLATE rebind<Type>::other other; };
Well, your fix is kinda redundant. I guess every compiler will be happy with this instead:
template<typename Type> struct result { typedef typename Allocator::BOOST_NESTED_TEMPLATE rebind<Type>::other other; };
Sorry, that's what I meant. The above was a copy-and-paste error.
If this works for BCC and you could do a quick check that it doesn't break the others (GCC, MSVC), please go ahead and commit to the CVS (thank you!)
Okay.
Joaquín M López Muñoz Telefónica, Investigación y Desarrollo
Jonathan

Jonathan Turkanis wrote:
JOAQUIN LOPEZ MU?Z wrote:
template<typename Type> struct result { typedef typename Allocator::BOOST_NESTED_TEMPLATE rebind<Type>::other other; };
If this works for BCC and you could do a quick check that it doesn't break the others (GCC, MSVC), please go ahead and commit to the CVS (thank you!)
Okay, done. Jonathan
participants (2)
-
JOAQUIN LOPEZ MU?Z
-
Jonathan Turkanis