Replace std::is_pod<> which is deprecated in C++20 (#1695)
Summary: Warnings are triggered by `is_pod<>` with both Clang and GCC when using `-std=c++20`. This change replaces all instances of `is_pod<T>::value` with `(is_standard_layout<T>::value && is_trivial<T>::value)`, which is equivalent and even suggested by both compilers. Pull Request resolved: https://github.com/facebook/folly/pull/1695 Reviewed By: Gownta Differential Revision: D33483730 Pulled By: Orvid fbshipit-source-id: 79bd867c7e019f614c6187ca9ca5c44d65bf6310
Showing
Please register or sign in to comment