Some fixes for custom conversions of enums
authorYedidya Feldblum <yfeldblum@fb.com>
Thu, 30 Nov 2017 06:13:39 +0000 (22:13 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 30 Nov 2017 06:23:07 +0000 (22:23 -0800)
Summary:
[Folly] Some fixes for custom conversions of enums.

Of note, `to` was defined for enum -> all conversions, including enum -> string conversions, but we actually want enum -> string conversions to be done via ADL-discovered toAppend.

Reviewed By: ot

Differential Revision: D6411250

fbshipit-source-id: 852b64309e6adf1c68e5153635cb29632e2d86d4


No differences found