* Destructor. Made virtual to ensure that derived classes also have
* virtual destructors.
*/
- virtual ~ParallelForInteger ();
+ virtual ~ParallelForInteger () = default;
/**
* This function runs the for loop over the given range
#endif
- inline
- ParallelForInteger::~ParallelForInteger () = default;
-
-
-
inline
void
ParallelForInteger::apply_parallel (const std::size_t begin,
// and we can't use 'Point<dim,Number>::Point () = default' here.
template <int dim, typename Number>
inline
-Point<dim,Number>::Point () = default;
+Point<dim,Number>::Point ()
+{}
/**
* Destructor. Free allocated memory.
*/
- ~TableBase ();
+ ~TableBase () = default;
/**
* Assignment operator. Copy all elements of <tt>src</tt> into the matrix.
-template <int N, typename T>
-inline
-TableBase<N,T>::~TableBase () = default;
-
-
-
template <int N, typename T>
inline
TableBase<N,T> &
/**
* Default constructor. Some compilers require this for some reasons.
*/
- StraightBoundary () = default;
+ StraightBoundary ();
/**
* Let the new point be the arithmetic mean of the two vertices of the line.
/**
* Destructor. Clears memory
*/
- ~BlockVector ();
+ ~BlockVector () = default;
/**
* Copy operator: fill all components of the vector that are locally
return *this;
}
- inline
- BlockVector::~BlockVector () = default;
inline
* of any derived class is called whenever a pointer-to-base-class object is
* destroyed.
*/
- virtual ~PointerMatrixBase ();
+ virtual ~PointerMatrixBase () = default;
/**
* Reset the object to its original state.
/*@}*/
//---------------------------------------------------------------------------
-template <typename VectorType>
-inline
-PointerMatrixBase<VectorType>::~PointerMatrixBase () = default;
-
-
-
-//----------------------------------------------------------------------//
-
template <typename MatrixType, typename VectorType>
PointerMatrix<MatrixType, VectorType>::PointerMatrix (const MatrixType *M)
/**
* Destructor.
*/
- ~PreconditionBlock();
+ ~PreconditionBlock() = default;
/**
* Initialize matrix and block size. We store the matrix and the block size
{}
-template <typename MatrixType, typename inverse_type>
-PreconditionBlock<MatrixType,inverse_type>::~PreconditionBlock () = default;
-
template <typename MatrixType, typename inverse_type>
void PreconditionBlock<MatrixType,inverse_type>::clear ()
/**
* Virtual destructor.
*/
- virtual ~SolverCG ();
+ virtual ~SolverCG () = default;
/**
* Solve the linear system $Ax=b$ for x.
-template <typename VectorType>
-SolverCG<VectorType>::~SolverCG () = default;
-
-
-
template <typename VectorType>
void
SolverCG<VectorType>::print_vectors(const unsigned int,
/**
* Virtual destructor.
*/
- virtual ~Base();
+ virtual ~Base() = default;
/**
* Release all memory and return to a state just like after having called
}
//----------------- Base operator -----------------------------
- template <int dim, typename VectorType>
- Base<dim,VectorType>::~Base () = default;
-
-
-
template <int dim, typename VectorType>
Base<dim,VectorType>::Base ()
:
-// We deliberately delay the definition of the default constructor
+// We deliberately delay the definition of the default destructor
// so that we don't need to include the definition of mu::Parser
// in the header file.
template <int dim>
/* -------------------------- StraightBoundary --------------------- */
+// At least clang < 3.9.0 complains if we move this definition to its
+// declaration when a 'const StraightBoundary' object is built.
+template <int dim, int spacedim>
+StraightBoundary<dim, spacedim>::StraightBoundary () = default;
+
+
template <int dim, int spacedim>
Point<spacedim>