On Tue, May 21, 2013 at 10:24 AM, Vicente J. Botet Escriba < vicente.botet@wanadoo.fr> wrote:
Hi,
There is a severe bug in packaged_task constructor when compiling in C++11 mode and giving a copyable functor as parameter, as reported in https://svn.boost.org/trac/**boost/ticket/8596https://svn.boost.org/trac/boost/ticket/8596. I believe that this is not a regression, this have never worked.
Until I find a fix, the packaged_task could be used only with free functions and with movable functors when compiling in C++11 mode.
Fortunately there is no regression on C++98 compilers (at least not identified yet).
Can C++11 code be disabled/removed (i.e. so that only C++03 working variant is left) as a hotfix for 1.54? Or do you intend to fix it before the release?