
4 Dec
2011
4 Dec
'11
10:37 p.m.
Le 04/12/11 19:25, Peter Dimov a écrit :
Vicente J. Botet Escriba wrote:
So which will be the type used to to move from a scoped_array to another container?
I have no idea what you mean, sorry.
No problem. I'm analyzing this ticket https://svn.boost.org/trac/boost/ticket/5040 future.hpp in boost::thread does not compile with /clr The concerned code is typedef std::vector<registered_waiter>::size_type count_type; count_type count; // ... for(count_type i=0;i<count;++i) { locks[i]=boost::unique_lock<boost::mutex>(futures[i].future->mutex); } The question is how count_type must be defined so that we don't have portable issues. Best, Vicente