nothrow by default

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Thu Jan 9 14:16:38 UTC 2020


On Thursday, 9 January 2020 at 13:45:44 UTC, Paulo Pinto wrote:
> As posted in another comment, C++/WinRT and Android NDK are two 
> such C++ setups.

I don't use NDK, but the documentation states clearly that it 
only supports new and delete for historic reasons:

«C++ exceptions are supported by libc++, but they are disabled by 
default in ndk-build. This is because historically C++ exceptions 
were not available in the NDK. CMake and standalone toolchains 
have C++ exceptions enabled by default.»

https://developer.android.com/ndk/guides/cpp-support




More information about the Digitalmars-d mailing list