Sun Studio C++ requires repeat of nothrow attr

Sun Studio C++ appears to require repeat of nothrow attribute
in the definition of the function, not just in the declaration.