 
            
            
            
            
                30 Jul
                
                    2008
                
            
            
                30 Jul
                
                '08
                
            
            
            
        
    
                8:46 p.m.
            
        AMDG Steven Ross wrote:
How about using a traits template?
That's worth considering. Can I use is_floating_point to mean that the entire value_type can be safely cast to an integer?
I'm thinking of something more like: template<class T> struct default_right_shift; template<> struct default_right_shift<float> { typedef rightshift type; }; // ... In Christ, Steven Watanabe