Skip to content

A15-2-2: Add test cases for std::nothrow new calls #30

Open
@lcartey

Description

@lcartey

Affected rules

  • A15-2-2

Description

A15-2-2 customizes the exception flow model to represent that new calls may throw a std::bad_alloc exception. This code correctly handles the case that a noexcept constructor is called, but should be expanded to include a test case.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions