[Joke] C++ and D namings

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Thu Jan 21 15:35:40 UTC 2021


On Thursday, 21 January 2021 at 12:14:01 UTC, deadalnix wrote:
> Yup, one things that people miss is that noexcept actually 
> makes things more expensive because the compiler has to add 
> checks that you aren't throwing something. These are runtime 
> checks that happen when unwinding an exception.

I would assume that only applies when calling functions in other 
compilation units? The throws within the noexcept function should 
just be replace with a call to std::terminate?



More information about the Digitalmars-d mailing list