16 #ifdef ENABLE_CUSTOM_OPERATOR_NEW 
   18 operator new(
size_t size) 
throw(std::bad_alloc) {
 
   21         throw std::bad_alloc();
 
   23     void* p = malloc(size);
 
   25         throw std::bad_alloc();
 
   31 operator delete(
void* p) 
throw() {
 
Defines the logger used by the top-level component of kea-dhcp-ddns. 
 
size_t throw_size_on_new
The allocation size that triggers an exception in the special operator new. 
 
bool force_throw_on_new
Switch to enable the use of special operator new. 
 
Enable the use of special operator new that throws for testing.