You copied the Doc URL to your clipboard.

__attribute__((nothrow)) function attribute

This function attribute asserts that a call to a function never results in a C++ exception being propagated from the call into the caller.

Note This function attribute is a GNU compiler extension that the ARM compiler supports. It has the __declspec equivalent __declspec(nothrow).


struct S
extern void f(void) __attribute__((nothrow));
void g(void)
    S s;