------- Comment #4 from maxime at altribe dot org 2010-05-17 13:10 ------- (In reply to comment #3) > The boost folks may be able to tell if they at any place copy a > function_buffer object via the assignment operator.
It seems so. From Peter Dimov : > [...] after stepping through the code, it turns out that function_buffer is > indeed assigned directly, due to the fact that __has_trivial_copy and > __has_trivial_destructor report true for the stored function object. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44164