Boost logo

Boost Users :

Subject: [Boost-users] [Serialize] master build failed due to friend template
From: alainm (alain.miniussi_at_[hidden])
Date: 2016-10-28 09:19:17

  Hi Robert,

My build is currently failing on master due to the following friend
declaration in array.hpp:
     // note: I would like to make the copy constructor private but this
     // make_array. So I try to make make_array a friend - but that
     // build. Need a C++ guru to explain this!
     template<class S>
     friend const boost::serialization::array_wrapper<T> make_array( T*
t, S s);
actual definition:

template<class T, class S>
const array_wrapper< T > make_array( T* t, S s){
     const array_wrapper< T > a(t, s);
     return a;

the problem is that the actual template definition takes two template
Has a result, the friend declaration introduces a new template that will
be missing at link time.

I'd like to have it fixed for the upcomming release so that we could
merge in a long overdue update of the MPI lib.
The fix seems kind of trivial:

I also have an issue with the selection criteria for emplace_hint which
fails (at least) on intel C++/CentOS 6.5:



Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at