[llvm-commits] [PATCH] [lld][ErrorOr] Add support for user data.

Sean Silva silvas at purdue.edu
Thu Dec 13 01:58:39 PST 2012


On Thu, Dec 13, 2012 at 12:40 AM, Michael Spencer <bigcheesegs at gmail.com> wrote:
>>
>> The check for the existence of the string:
>>    error_code(a) == errc::invalid_argument
>> seems cumbersome can that be simplified?
>
> I could add an overload of == for enable_if<is_error_code_enum<T>::value...

Please do this!

-- Sean Silva



More information about the llvm-commits mailing list