Detect and use std::is_trivially_copyable<T> where possible.
Summary: - Sadly, boost::has_trivial_copy<T> is not a suitable replacement for std::is_trivially_copyable<T> on libc++. Fortunately, the latter is actually supported (and works), so use it directly. Test Plan: - fbconfig -r folly && fbmake runtests - ./configure && make check on Ubuntu/FC/Mac Reviewed By: delong.j@fb.com FB internal diff: D1008921
Showing
Please register or sign in to comment