Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::new_handler

      From cppreference.com
      <cpp‎ |memory‎ |new
       
       
      Utilities library
       
      Memory management library
      (exposition only*)
      Allocators
      Uninitialized memory algorithms
      Constrained uninitialized memory algorithms
      Memory resources
      Uninitialized storage(until C++20)
      (until C++20*)
      (until C++20*)
      Garbage collector support(until C++23)
      (C++11)(until C++23)
      (C++11)(until C++23)
      (C++11)(until C++23)
      (C++11)(until C++23)
      (C++11)(until C++23)
      (C++11)(until C++23)
       
       
      Defined in header<new>
      typedefvoid(*new_handler)();

      std::new_handler is the function pointer type (pointer to function that takes no arguments and returns void), which is used by the functionsstd::set_new_handler andstd::get_new_handler.

      [edit]See also

      allocation functions
      (function)[edit]
      registers a new handler
      (function)[edit]
      obtains the current new handler
      (function)[edit]
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/memory/new/new_handler&oldid=153362"

      [8]ページ先頭

      ©2009-2025 Movatter.jp