How does noexcept work?
Namespace
rswhite4 at googlemail.com
Tue Nov 19 10:09:28 PST 2013
On Tuesday, 19 November 2013 at 18:01:19 UTC, Jeroen Bollen wrote:
> If I have a function:
> @safe pure void functionName() {
> return;
> }
> Where do I put the noexcept?
Did you mean nothrow?
You can put it unfortunately on both sides.
left:
@safe pure nothrow void functionName() {
return;
}
right:
@safe pure void functionName() nothrow {
return;
}
More information about the Digitalmars-d-learn
mailing list