|
Boost : |
Subject: Re: [boost] [nowide] Easy Unicode For Windows: Request For Comments/Preliminary Review
From: Artyom Beilis (artyomtnk_at_[hidden])
Date: 2012-05-29 14:55:39
> I know this is somewhat stupid but isn't it easy to get in this case?
>
> int main(int argc,char **argv[,char **env])
> {
> {
> boost::nowide::args a(argc,argv[,env])
>
> }
> //...
> std::cout << argv[0] ; // crash?
>
> }
>
> Or do you restore argv in the args destructor?
>
>
> Joel Lamotte
>
Actually good point and good idea to restore old argc/argv
parameters.
I'll add this!
Artyom Beilis
--------------
CppCMS - C++ Web Framework: http://cppcms.com/
CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk