16 Jan
2018
16 Jan
'18
4:05 p.m.
On 01/16/18 18:56, Olaf van der Spek via Boost wrote:
On Mon, Jan 15, 2018 at 10:18 PM, Niall Douglas via Boost
wrote: Question: is this still considered too much overhead? Note that there is no longer ANY proposed breaking change with existing code. This is now 100% enhancement only.
Can't the is_error bool be stored in the ec object itself, at construction time?
Actually, I like this idea. I've modified my benchmark accordingly and it shows nearly identical performance as the current `std::error_code`: Experimental test: 253654 usec, 394237820.022550 tests per second Experimental2 test: 46353 usec, 2157357668.327832 tests per second std test: 45981 usec, 2174811335.116679 tests per second