Re: [boost] Review Request: Introduction of boost::string namespace and string-conversion functions
            
            
            
                12 Feb
                
                    2009
                
            
            
                12 Feb
                
                '09
                
            
            
            
        
    
                4:16 p.m.
            
        From the user point the interface I'd like to propose might look like the following:
int i; std::string s;
1) int i_from_s = boost::string::to<int>(s); // throws 2) std::string s_from_i = boost::string::from<int>(i); 3) bool s_is_i = boost::string::is<int>(i);
Do you consider adding an extra parameter for locale, to get rid of dependency on the global one? Regards, &rzej
            
            
            
                13 Feb
                
            
            
                13 Feb
                
            
            
            
        
        
                8:44 a.m.
            
        
          New subject: [boost]	Review Request: Introduction of boost::string namespace	and string-conversion functions
        
        
    Do you consider adding an extra parameter for locale, to get rid of dependency on the global one?
I agree. string conversion is needed both for converting user input/output and building SQL-strings or reading/writing textfiles. If there is no locale support I need to use different string conversion libraries depending what I want to do
        6108
        
      
          Age (days ago)
        
      
        6109
        
    
          Last active (days ago)
        
        
        
        1 comments
    
    
        
        2 participants
    
    
    
    
    
    
    
    
    participants (2)
- 
                
a k - 
                
Martin