
4 Dec
2011
4 Dec
'11
11:48 p.m.
Vicente J. Botet Escriba wrote:
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 problem here is that the "unspecified bool type" is not a member pointer under /clr because it doesn't work. I see that I used a function pointer to avoid this problem, but apparently, function pointers can be indexed with operator[] (even though it makes no sense to do so), which results in the ambiguity being reported. This is technically a scoped_array issue, but I have no idea how to fix it, so the easiest approach is to make count_type ptrdiff_t under /clr (#ifdef _MANAGED).