id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 13561,boost::detail::nullary_function causes stack overflow when copied,yhirsch@…,viboes,"Hi, It seems as though boost::detail::nullary_function implement a perfect forwarding constructor incorrectly, which causes a stack overflow: Here is a simple example: {{{ #!C++ #include #include int main(int argc, char* argv[]) { boost::detail::nullary_function f1; auto f2 = f1; } }}} This ends up invoking nullary_function.hpp:81 which keeps invoking iself recursively, resulting in a stack overflow.",Bugs,closed,Boost 1.69,thread,Boost 1.67.0,Showstopper,fixed,"stack,overflow,thread,future,nullary,function",