3 Mar
2018
3 Mar
'18
4:48 p.m.
But how about a mini-tutorial on building a custom code domain whose status code wraps any arbitrary thrown C++ exception? It looks like SG14 and WG21 is going to need one of those in any case.
That worked example is written and can be viewed at https://github.com/ned14/status-code/blob/master/doc/custom_domain_worked_ex.... It should explain a lot more of how <system_error2> works. Wandbox playpen of custom error code with payload of a thrown C++ exception: https://wandbox.org/permlink/cRDS3kWqcAmYHBD6 Niall -- ned Productions Limited Consulting http://www.nedproductions.biz/ http://ie.linkedin.com/in/nialldouglas/