Referencestdbad_allocoperator= operator · 2 overloads std::bad_alloc::operator= Header<new>Draft[bad.alloc]Scopestd::bad_alloccppreferencestd::bad_alloc::operator= ↗ Assignment operators Overloads constexpr bad_alloc& operator=(const bad_alloc& other) noexcept = default;(1) constexpr exception& operator=(const exception& other) noexcept = default;(2)