Boost logo

Boost Users :

Subject: Re: [Boost-users] [container / move] return a container of non-copyable but movable from a function in C++03
From: Krzysztof Czainski (1czajnik_at_[hidden])
Date: 2013-08-14 03:23:26


2013/8/14 Adam Romanek <romanek.adam_at_[hidden]>

> One way to workaround the issue is to make the copy-constructor
> disable_if-ed in case of non-copyable elements in C++03. The
> copy-constructor is useless in this case so such a change should be safe,
> right?
>
> What do you think about it?
>

If you use SFINAE to disable the copy-constructor, won't one be
autogenerated?

Regards,
Kris



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