Use std:: type traits where available instead of WTF versions.
This patch removes the hand crafted implementation of WTF type traits with the versions now available in the std:: type_traits library. The first patch will have the WTF versions use the std:: implementation, a followup patch will remove the WTF versions entirely. This patch replaces the implementations of -> with: WTF::IsCopyAssignable -> std::is_copy_assignable WTF::IsMoveAssignable -> std::is_move_assignable WTF::IsTriviallyCopyAssignable -> std::is_trivially_copy_assignable WTF::IsTriviallyMoveAssignable* -> std::is_trivially_move_assignable WTF::IsDestructible -> std::is_destructible WTF::IsTriviallyDefaultConstructible -> std::is_trivially_default_constructible Bug: 579462 Change-Id: I4ac335929e298f8b28a23021fef8e58ae855f3c6 Reviewed-on: https://chromium-review.googlesource.com/756258 Commit-Queue: Yuta Kitamura <yutak@chromium.org> Reviewed-by:Yuta Kitamura <yutak@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Cr-Commit-Position: refs/heads/master@{#515452}
Showing
Please register or sign in to comment