See `test_8_allocations_in_constr.cpp` for a case that fails and how it can be avoided (in that specific case). The resolution seems to be to make sure to use the default constructor on the object.
See
test_8_allocations_in_constr.cppfor a case that fails and how it can be avoided (in that specific case).The resolution seems to be to make sure to use the default constructor on the object.