|
Boost : |
Subject: Re: [boost] [outcome] outcome without empty state?
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2017-05-25 10:05:18
Le 24/05/2017 à 22:44, Jonathan Müller via Boost a écrit :
> What about providing no default constructor? There are two valid choices so
> why surprise half the users?
>
> Yes, it makes it a bit harder to use in arrays, but how often would it need
> to be stored in arrays anyways.
>
>
I need a default constructor even if uninitialized.
What do you think an uninitialized default constructor?
Vicente
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk