type_traits header in libstdc++ 4.8 does not define is_trivially_contructible
so the code doesn't compile with it.
In this file we are using the trait for assertion to provide a better
error message. Removing it doesn't change the meaning of the code.
Differential Revision: http://reviews.llvm.org/D20719
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@270957
91177308-0d34-0410-b5e6-
96231b3b80d8
template <typename T> class FixedStreamArray {
friend class FixedStreamArrayIterator<T>;
- static_assert(std::is_trivially_constructible<T>::value,
- "FixedStreamArray must be used with trivial types");
public:
FixedStreamArray() : Stream() {}