
27 Feb
2011
27 Feb
'11
9:18 p.m.
Is the result of lexical_caststd::string locale-dependent? One of my contributors has submitted a fix for a problem he says is caused by lexical_cast adding commas to a port number, e.g.: 65535 becomes "65,535". I'm unable to reproduce this but it may be something specific to his locale. If this is the case, what would be the correct way to get a canonical, locale-independent string from an integer? Thanks. Alex -- Easy SFTP for Windows Explorer (http://www.swish-sftp.org)