[Patch, libstdc++/64584, libstdc++/64585] Clear basic_regex after imbue and make assign exception tolerant
Daniel Krügler
daniel.kruegler@gmail.com
Sat Apr 11 21:10:00 GMT 2015
2015-04-11 23:03 GMT+02:00 Tim Shen <timshen@google.com>:
> 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?
24.2.2 [iterator.iterators] requires them to be CopyConstructible and
CopyAssignable, these imply the two more reduced requirements.
- Daniel
More information about the Libstdc++
mailing list