<new>ヘッダ †
型 †
nothrow_t †
形式
namespace std {
struct nothrow_t {};
}
new_handler †
形式
namespace std {
typedef void (*new_handler)();
}
外部オブジェクト †
nothrow †
形式
namespace std {
extern const nothrow_t nothrow;
}
bad_alloc クラス †
形式
namespace std {
class bad_alloc : public exception {
public:
bad_alloc() throw();
bad_alloc(const bad_alloc& x) throw();
bad_alloc& operator=(const bad_alloc& x) throw();
virtual ~bad_alloc() throw();
virtual const char* what() const throw();
};
}
演算子 †
operator new †
形式
namespace std {
void* operator new(size_t size) throw(bad_alloc);
void* operator new(size_t size, const nothrow_t& nt) throw();
}
operator new[] †
形式
namespace std {
void* operator new[](size_t size) throw(bad_alloc);
void* operator new[](size_t size, const nothrow_t& nt) throw();
}
operator delete †
形式
namespace std {
void operator delete(void* ptr) throw();
void operator delete(void* ptr, const nothrow_t& nt) throw();
}
operator delete[] †
形式
namespace std {
void operator delete[](void* ptr) throw();
void operator delete[](void* ptr, const nothrow_t& nt) throw();
}
関数 †
set_new_handler †
形式
namespace std {
new_handler set_new_handler(new_handler p) throw();
}
Last-modified: Thu, 08 Dec 2005 22:40:34 JST (5557d)