
12 May
2003
12 May
'03
5:54 p.m.
Hello, I'm trying to get lexical_cast to convert a std::string to bool; I realize that this is done with normal IOStreams by using boolalpha. Is there a way to do this with lexical_cast? I saw some old posts in the archives and they were apparently with older code bases because I was unable to get their code snippets to work properly [either that or my compiler is messed up :)]. For reference, I use Visual Studio .NET 2002. Thank you very much for any assistance in advance. --Paul