
10 Mar
2011
10 Mar
'11
4:59 p.m.
"KSpam" wrote:
This has been a known problem for a very long time, and the work around is quite simple. Replace
reinterpret_cast
(&in_buffer.data)->~Functor(); with
functor_type* p = reinterpret_cast
(&in_buffer.data); p->~Functor();
Note however that this replacement causes a warning on MSVC ('p' not used), so it needs to be conditional, as in https://svn.boost.org/trac/boost/changeset/69251 Is there a ticket?