<div dir="ltr">This is a pretty nifty hack. =D<div><br></div><div>One question, can we really use std::generic_category for all of these codes? The actual standard library splits betwene generic_category and system_category IIRC. I'm wondering if we have to implement our own category that manages extracting the relevant bits of information under the hood.</div>
<div><br></div><div>Thoughts?</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jun 13, 2014 at 5:28 PM, Rafael EspĂ­ndola <span dir="ltr"><<a href="mailto:rafael.espindola@gmail.com" target="_blank">rafael.espindola@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
While std::error_code itself seems to work OK in all platforms, there<br>
a few annoying differences with regards to the std::errc enumeration.<br>
<br>
The attached patch adds a simple llvm enumeration, which will<br>
hopefully avoid build breakages in other platforms and surprises as we<br>
get more uses of std::error_code.<br>
<br>
Cheers,<br>
Rafael<br>
</blockquote></div><br></div>