On Thursday, 6 February 2014 at 18:52:21 UTC, fra wrote:
Hey, wait a second. How do you throw without allocating?

I think exceptions should be ok. You optimize the typical path, and exceptions are (by definition) an exceptional path. If they are also unacceptable, you could restrict yourself to nothrow functions. (Which can still throw Errors... but meh they are even *more* exceptional)

Reply via email to