9 May
                
                    2007
                
            
            
                9 May
                
                '07
                
            
            
            
        
    
                12:13 p.m.
            
        Jody Hagins wrote:
However, char, signed char, and unsigned char are different types. int8_t is supposed to be typedef'd as signed char, which is a different type than char. I do not see any reason lexical_cast<int8_t>() or lexical_cast<signed char>() should be treated the same way as lexical_cast<char> since the internal C++ type mechanisms treat "char" "signed char" and "unsigned char" as completely different types...
Quite an interesting idea. So 'char' would be a character, but 'signed char' and 'unsigned char' would be integers. This behaviour might break some code, but I don't think 'signed char' or 'unsigned char' are much used to store characters.