Summary:
- libc++ doesn't ship with this method defined. Just use Boost's version
of this instead.
Test Plan:
- fbconfig -r folly && fbmake runtests
- ./configure && make check on Ubuntu/FC/Mac
Reviewed By: meyering@fb.com
FB internal diff:
D998593
private:
typedef std::integral_constant<bool,
- std::has_trivial_copy_constructor<T>::value &&
+ boost::has_trivial_copy_constructor<T>::value &&
sizeof(T) <= 16 // don't force large structures to be passed by value
> should_pass_by_value;
typedef typename std::conditional<