folly::Indestructible interface improvement
authorAaryaman Sagar <aary@instagram.com>
Thu, 28 Dec 2017 16:53:05 +0000 (08:53 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 28 Dec 2017 17:21:10 +0000 (09:21 -0800)
commit3c127a77f9b9fb201f98da646bbe0ea06cd6d55b
tree6deafeaea81f90649df0b25c46d36d7c57be4ed5
parent84ad2a4d4b52b0207b35f35c54702cb87189fe4d
folly::Indestructible interface improvement

Summary:
As it stands the user cannot use initializer list constructors in the
underlying type, this fixes that and provides a good interface change.
This allows them to use list initialization, which works with initializer
lists

Reviewed By: yfeldblum

Differential Revision: D6620994

fbshipit-source-id: c29199f97b434d84dd8d4cee2f00c5eccb316166
folly/Indestructible.h
folly/test/IndestructibleTest.cpp