On Wed, Jan 29, 2014 at 12:07 PM, roystgnr <notifications@github.com> wrote:

> In src/systems/equation_systems.C:
>
> >
> > -  // Gather the distributed node_conn arrays in the case of
> > -  // multiple processors.
> > -  this->comm().sum(node_conn);
> > +  // Create a NumericVector to hold the parallel solution
> > +  NumericVector<Number> & parallel_soln = *(NumericVector<Number>::build().release());
>
> Maybe libMesh::UniquePtr should be one of our "stuff from C++11 to shim or
> reimplement" targets? We can't give it a move constructor in C++03,
> naturally, but it would still be usable as a local variable, just not as an
> argument or return value. On the other hand, we wouldn't want C++11 users
> to try to use it in moves only to discover that their code broke on others'
> systems with older compilers.
>
The boost subset that comes with libmesh already provides boost::unique_ptr
if you want to start using it in the library...

-- 
John