Skip to main content
The 2024 Developer Survey results are live! See the results

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

1
  • A nugget from the technical report: "because the constructors of the Standard Library exception classes [..] require an argument of type std::string, this overhead may be included in a program inadvertently". A lot of exceptions use std::string, and this means dynamic memory allocation. Avoiding dynamic memory allocation also means avoiding memory leaks, which is highly useful in embedded applications. Commented May 18, 2017 at 13:07