bad_array_new_length Class
The class describes an exception thrown to indicate that an allocation request did not succeed due to array size less than zero or greater than its limit.
Syntax
class bad_array_new_length : public bad_alloc {
public: bad_array_new_length() noexcept;
const char* what() const noexcept override;
};
Remarks
The value returned by what
is an implementation-defined C string. None of the member functions throw any exceptions.
Requirements
Header: <new>
See also
الملاحظات
https://aka.ms/ContentUserFeedback.
قريبًا: خلال عام 2024، سنتخلص تدريجيًا من GitHub Issues بوصفها آلية إرسال ملاحظات للمحتوى ونستبدلها بنظام ملاحظات جديد. لمزيد من المعلومات، راجعإرسال الملاحظات وعرضها المتعلقة بـ