This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch, libstdc++/64584, libstdc++/64585] Clear basic_regex after imbue and make assign exception tolerant


On Sat, Apr 11, 2015 at 8:18 PM, Marc Glisse wrote:
> On Sat, 11 Apr 2015, Tim Shen wrote:
>
>> I realized that std::move() on an user defined iterator may cause
>> compilation error, if user explicitly deletes its move ctor/assign.
>
>
> That would violate the most basic iterator requirements.

I'm not sure about that; [24.2.2.2] seems not to require
MoveConstructible/MoveAssignable?


-- 
Regards,
Tim Shen


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]