/**
* Pointer to the array of local elements of this vector.
*/
- std::unique_ptr<Number[], decltype (free) *> values = std::unique_ptr<Number[], decltype (free) *> (nullptr, free);
+ std::unique_ptr<Number[], decltype (free) *> values;
/**
* For parallel loops with TBB, this member variable stores the affinity
template <typename Number>
inline
ReadWriteVector<Number>::ReadWriteVector ()
+ :
+ Subscriptor(),
+ values(nullptr, free)
{
// virtual functions called in constructors and destructors never use the
// override in a derived class
inline
ReadWriteVector<Number>::ReadWriteVector (const ReadWriteVector<Number> &v)
:
- Subscriptor()
+ Subscriptor(),
+ values(nullptr, free)
{
this->operator=(v);
}
template <typename Number>
inline
ReadWriteVector<Number>::ReadWriteVector (const size_type size)
+ :
+ Subscriptor(),
+ values(nullptr, free)
{
// virtual functions called in constructors and destructors never use the
// override in a derived class
template <typename Number>
inline
ReadWriteVector<Number>::ReadWriteVector (const IndexSet &locally_stored_indices)
+ :
+ Subscriptor(),
+ values(nullptr, free)
{
// virtual functions called in constructors and destructors never use the
// override in a derived class