// ---------------------------------------------------------------------
//
-// Copyright (C) 1999 - 2016 by the deal.II authors
+// Copyright (C) 1999 - 2017 by the deal.II authors
//
// This file is part of the deal.II library.
//
FESystem (const std::vector<const FiniteElement<dim,spacedim>*> &fes,
const std::vector<unsigned int> &multiplicities);
+ /**
+ * Copy constructor. This constructor is deleted, i.e., copying
+ * FESystem objects is not allowed.
+ */
+ FESystem (const FESystem<dim,spacedim> &) = delete;
+
/**
* Destructor.
*/
* This object contains a pointer to each contributing element of a mixed
* discretization and its multiplicity. It is created by the constructor and
* constant afterwards.
- *
- * The pointers are managed as shared pointers. This ensures that we can use
- * the copy constructor of this class without having to manage cloning the
- * elements themselves. Since finite element objects do not contain any
- * state, this also allows multiple copies of an FESystem object to share
- * pointers to the underlying base finite elements. The last one of these
- * copies around will then delete the pointer to the base elements.
*/
std::vector<std::pair<std::shared_ptr<const FiniteElement<dim,spacedim> >,
unsigned int> >