
----- Original Message -----
From: Klaim - Joël Lamotte <mjklaim@gmail.com> To: boost@lists.boost.org Cc: Sent: Tuesday, May 29, 2012 5:38 PM Subject: Re: [boost] [nowide] Easy Unicode For Windows: Request For Comments/Preliminary Review
Hi, I just read the documentation, so far this library looks nice.
On Tue, May 29, 2012 at 11:25 PM, Artyom Beilis <artyomtnk@yahoo.com> wrote:
boost::nowide::args a(argc,argv);
args is an object maintaining the lifetime of the new values that argv will point to.
Is my understanding correct?
Joel Lamotte
Yes, you understand correctly. So main function int main(int argc,char **argv[,char **env]) { ... } Simply changed to int main(int argc,char **argv[,char **env]) { boost::nowide::args a(argc,argv[,env]) ... } Where a is args instance that holds the "replaced" values. Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/