
19 Nov
2011
19 Nov
'11
4:44 p.m.
On 19 November 2011 02:22, Sebastian Redl <sebastian.redl@getdesigned.at> wrote:
Do we even want the third variant? That is, do we want to support tr2::optional of something that is neither copyable nor movable?
I think we do. optional<T> should be copyable if and only if T is copyable, and optional<T> should be moveable if and only if T is moveable. (I'm not yet sure if construction vs. assignment can also be distinguished based on how we can implement it.) -- Nevin ":-)" Liber <mailto:nevin@eviloverlord.com> (847) 691-1404