message: Update comments in class Array<T> that T must be a trivial type.
diff: @@ -37,9 +37,9 @@ void Swap(Array<T> &, Array<T> &);
  Abstract data type Array.
  Array<T> is an automatically increasing array containing elements of the
  - generic type T, which must be a POD (plain old data) type. The allocated size
  - may be larger then the logical size of the array. The elements can be
  - accessed by the [] operator, the range is 0 to size-1.
  + generic type T, which must be a trivial type, see `std::is_trivial`. The
  + allocated size may be larger then the logical size of the array. The elements
  + can be accessed by the [] operator, the range is 0 to size-1.
  */
  template <class T>
  class Array
  @@ -54,14 +54,7 @@ protected:
  static inline void TypeAssert()
  {
  - // FIXME: we use Array with some non-trivial types:
  - // * mfem::NCMesh::MeshId
  -
  static_assert(std::is_trivial<T>::value, "type T must be trivial");
  -
  - // Do we also assume that T "is_standard_layout"?
  - // Note that "is_pod" = "is_trivial" + "is_standard_layout", however,
  - // "is_pod" is deprecated in c++20.
  }
  public:
  