C++ Logo

std-discussion

Advanced search

Re: Safety critical C++ inheritance?

From: Tiago Freire <tmiguelf_at_[hidden]>
Date: Wed, 17 Apr 2024 20:52:31 +0000
You can use the stack?
Not sure I understand your question. As far as I know heap memory is not a requirement for inheritance.

From: Std-Discussion <std-discussion-bounces_at_[hidden]> On Behalf Of Richard Bamford via Std-Discussion
Sent: Wednesday, April 17, 2024 22:24
To: std-discussion_at_[hidden]
Cc: Richard Bamford <richardbamford1_at_[hidden]>
Subject: [std-discussion] Safety critical C++ inheritance?

Hi,

The MISRA C++ programming standards and many safety critical applications are unable to use heap memory without filing deviations. Is there any way that programs aiming to follow those standards can use inheritance in C++ without using heap memory?

Thank you,
Richard B.

Received on 2024-04-17 20:52:35