18 Mar
2015
18 Mar
'15
1:50 p.m.
overhead that error-codes have), but I think it's an acceptable trade-off here, as it's the only way to support disabling exceptions.
What say you?
apart from the fact it requires implementing a wrapper, which is not a big deal, it looks like a good solution. We loose the functional aspect because of passing the error code variable by reference, but we're not supposed to be that "functional" on error codes either. Sounds good to me.