[fdo-internals] Question about VALIDATE_ALLOCATION

Mateusz Loskot mateusz at loskot.net
Sat Feb 3 01:02:39 EST 2007


Hi,

Could anyone explain me what is the purpose of VALIDATE_ALLOCATION
macro, in the FdoCommonMistUtil.h ?

Is this for use together with nothrow allocator

T* p = new (std::nothrow) T()

So, does it also mean the nothrow version is used anywhere?
In what situations?
I'd like to learn the recommended practice behind for FDO?

Cheers
-- 
Mateusz Loskot
http://mateusz.loskot.net


More information about the fdo-internals mailing list