13 May
                
                    2004
                
            
            
                13 May
                
                '04
                
            
            
            
        
    
                4:39 a.m.
            
        "Neal Becker" <ndbecker2@verizon.net> wrote in message news:c7uljb$etk$1@sea.gmane.org...
In iterator_facade.hpp:
reference operator*() const
Why the const?
So you could dereference const iterators
I am writing function_input_iterator (again), using iterator_facade. The functor used as a generator may not be const - it might well have state. Therefore, dereference changes the state, and so isn't const.
Make'em mutable. Dereference is 'naturally' const operation. So special cases should be marked as special. Gennadiy.