Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 571 Bytes

op_assign.md

File metadata and controls

24 lines (17 loc) · 571 Bytes

operator=

  • new[meta header]
  • std[meta namespace]
  • bad_alloc[meta class]
  • function[meta id-type]
bad_alloc& operator=(const bad_alloc&) throw();            // (1) C++98
bad_alloc& operator=(const bad_alloc&) noexcept;           // (1) C++11
constexpr bad_alloc& operator=(const bad_alloc&) noexcept; // (1) C++26

概要

bad_allocオブジェクトを代入する

  • (1) : コピー代入

例外

投げない

関連項目