id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 6222,Compile error with SunStudio: unique_future move,anonymous,viboes,"{{{ // B.cpp #include static int function() { return 42; } int main(int argc, const char *argv[]) { boost::packaged_task pt(function); boost::unique_future future = pt.get_future(); return 0; } }}} When trying to compile this I get this error: ""B.cpp"", line 10: Error: boost::unique_future::unique_future(boost::unique_future&) is not accessible from main(int, const char**). 1 Error(s) detected. ",Bugs,closed,Boost 1.50.0,thread,Boost 1.48.0,Problem,fixed,move,viboes