Boost logo

Boost Users :

Subject: Re: [Boost-users] [value_initialized] when T is const
From: Niels Dekker - address until 2010-10-10 (niels_address_until_2010-10-10_at_[hidden])
Date: 2009-09-23 02:31:16


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.

Please check <boost/utility/value_init.hpp>

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

Kind regards, Niels

-- 
Niels Dekker
http://www.xs4all.nl/~nd/dekkerware
Scientific programmer at LKEB, Leiden University Medical Center

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net