有没有人知道ATL7.0中的这些代码是什么意思?
成员函数后面的 "throw( ... )"是什么意思啊??
代码如下:
template< typename T, int t_nFixedBytes = 128, class Allocator = CCRTAllocator >
class CTempBuffer
{
public:
CTempBuffer( size_t nElements ) throw( ... ) :
m_p( NULL )
{
Allocate( nElements );
}
T* Allocate( size_t nElements ) throw( ... )
{
return( AllocateBytes( nElements*sizeof( T ) ) );
}
}