table of contents
        
      
      
    
      other versions
    
    - Tumbleweed 2024.07.05-1.3
 - Leap-16.0
 - Leap-15.6
 
| std::get_new_handler(3) | C++ Standard Libary | std::get_new_handler(3) | 
NAME¶
std::get_new_handler - std::get_new_handler
Synopsis¶
 Defined in header <new>
  
   std::new_handler get_new_handler() noexcept; (since C++11)
  
   Returns the currently installed new-handler, which may be a null pointer.
  
   This function is thread-safe. Previous call to std::set_new_handler
  
   synchronizes-with (see std::memory_order) the subsequent calls to
  
   std::get_new_handler.
Parameters¶
(none)
Return value¶
The currently installed new-handler, which may be a null pointer value.
See also¶
 operator new allocation functions
  
   operator new[] (function)
  
   set_new_handler registers a new handler
  
   (function)
  
   new_handler function pointer type of the new handler
  
   (typedef)
| 2024.06.10 | http://cppreference.com |