Added remove_cvref
authorAaryaman Sagar <aary@instagram.com>
Thu, 28 Dec 2017 16:53:54 +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)
commite14ef53297ff23a1f3b1b01716708a416b080141
treefe90d1ad3fe4ea6a43e36163fe7aa038b5f1a595
parent3c127a77f9b9fb201f98da646bbe0ea06cd6d55b
Added remove_cvref

Summary:
std::remove_cvref is like std::decay, but without the function to
pointer and array to pointer decays

Backport of http://en.cppreference.com/w/cpp/types/remove_cvref

Reviewed By: yfeldblum

Differential Revision: D6639513

fbshipit-source-id: 2a5e252678aacc09acf6ce4565872e7efb9b48f3
folly/Traits.h
folly/test/TraitsTest.cpp