id summary reporter owner description type status milestone component version severity resolution keywords cc 61 regex iterator requirement lfarkas John Maddock "{{{ regex require that iterator (eg for regex_match) has default constructor. AFAIK it's not a requirement for any (neither bidirectional) iterator to has a default constructor. eg for user defined iterator sometime it's a preformance decrease for iterator. eg. I'd like to use regex to search a file. if the file fit into the memory I use wstring's iterator, but if not I have to create an own bi_istream_iterator (since std::istream_iterator is not bidirectional:-(). after that I made an iterator which encapsulate these two iterator, but this hasn't deafult constructor and if I have to make a default one, than I'have to redesign it and add another bool member. what I realy wan't that the encapsulator iterator be as samll as possible, but it's getting harder and harder:-((( IMHO it's a bug in regex implementation. yours. }}}" Bugs closed regex None Invalid