Niels Dekker - address until 2010-10-10 wrote:
Edward Diener wrote:
As a quick 'heads up', if you add a constructor to value_initialized<T>, make sure you also remember to add the default constructor.
Did you already take a look? value_initialized<T> has always had a user-defined default constructor.
My very stupid error in not realizing that value_initialized<T> had to have a user-defined default constructor.
Please check
It would be helpful if you could already implement the new feature in your local copy of "value_init.hpp", to see if it works. If so, you could add your implementation as a proposed resolution to the ticket, https://svn.boost.org/trac/boost/ticket/3472
I will code it up locally, test it out, and then add it to the ticket.