 
            
            
            
            
                9 Jul
                
                    2008
                
            
            
                9 Jul
                
                '08
                
            
            
            
        
    
                1:39 a.m.
            
        Steven Ross wrote:
- Does it work with uint64_t? I see some variables declared as 'long', which often can't store a uint64_t.
I was suggesting using an int64_t The problem is that I need to use the return type of the user's >> method
I think it's reasonable to assume that T::operator>>(int) returns T, for integer and integer-like classes. (Can anyone think of any exceptions to that? Has anyone defined an integer-like concept that covers this yet?) Hence my comment about using the iterator::value_type:
Why not just use Iterator::value_type (or whatever it's called; or some iterator_traits thing) everywhere?
Phil.