Simplify type_t
authorYedidya Feldblum <yfeldblum@fb.com>
Mon, 30 Oct 2017 21:52:50 +0000 (14:52 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Mon, 30 Oct 2017 22:07:59 +0000 (15:07 -0700)
commitffe039c4511c9771974ead5b25762b57955ff1da
tree4848392e28bb3fa6cfa196548f952f650b1b0880
parent46af81b61d7c026deb2735019ae991d36e7b0d39
Simplify type_t

Summary:
[Folly] Simplify `type_t` by lifting the type to be aliased into the structure template parameter list.

May also fix curious build failures in some compilers.

Reviewed By: akrieger

Differential Revision: D6188953

fbshipit-source-id: 96e1c3af9c11959c0899c092933158922efa7e60
folly/Traits.h