nothrow by default
Ola Fosheim Grøstad
ola.fosheim.grostad at gmail.com
Thu Jan 9 21:35:51 UTC 2020
On Thursday, 9 January 2020 at 21:29:00 UTC, Johannes Pfau wrote:
> As far as I understood Sutter's proposal it's one word of
> 'context'. But a function actually returns two words (i.e. two
> words of state), where one is the error category and the second
Well, on x86 a register can be 256 bits or more... But AFAIK C++
implementations do not allocate memory for exceptions
dynamically. So you only pay the price of the constructor and
potential cache miss.
More information about the Digitalmars-d
mailing list