2017-05-26 6:53 GMT+02:00 Vicente J. Botet Escriba via Boost < boost@lists.boost.org>:
Le 26/05/2017 à 00:52, Gavin Lambert via Boost a écrit :
On 26/05/2017 00:30, Peter Dimov wrote:
Vicente J. Botet Escriba wrote:
I need a default constructor even if uninitialized.
What do you think an uninitialized default constructor?
Awful, of course. Gratuitous undefined behavior is never good.
+1
After some exchanges with Jonathan I believe now that we shouldn't have the uninitialized default constructor. My arguments were wrong and this makes the implementation less efficient and more complex.
So either we have the status-quo or we delete it.
I start to think that maybe the best would be to remove it :(
Let me just recall her the suggestion from Peter made in the other thread.
Mybe have two types:
`expected