/// \brief Resize the partition_vector component. If the \a val is not
 ///         it use default constructor instead.
 ///
 /// \param n    New size of the partition_vector
 /// \param val  Value to be copied if \a n is greater than the current
 ///             size
 ///
 void resize(std::size_t n, T const& val = T())
 {
     return resize_async(n, val).get();
 }
 HPX_PARTITIONED_VECTOR_SPECIALIZATION_EXPORT void
 partitioned_vector_partition<T, Data>::resize(
     std::size_t n, T const& val /*= T()*/)
 {
     return resize_async(n, val).get();
 }