Boost logo

Boost Testing :

From: Jonathan Turkanis (turkanis_at_[hidden])
Date: 2008-01-18 17:27:21


K. Noel Belcourt wrote:
> On Jan 16, 2008, at 4:01 PM, Jonathan Turkanis wrote:
>
>> The compiler output for several iostreams tests suggests this platform
>> is missing the placement new operator (e.g., http://tinyurl.com/
>> 3c4krh).
>> Is that correct?
>>
>> If so, what is the usual workaround? Do people define their own
>> placement new?
>
> Apparently so. As a quick workaround, you may be able to provide an
> operator new (unsigned long, std::locale *) which calls new (unsigned
> long, void *).

I think I'm missing something. If the user has not provided a placement
new, won't the operator new taking a locale* fail?

> -- Noel

-- 
Jonathan Turkanis
CodeRage
http://www.coderage.com

Boost-testing list run by mbergal at meta-comm.com