|
Boost : |
Subject: Re: [boost] [nowide] Easy Unicode For Windows: Request For Comments/Preliminary Review
From: Klaim - Joël Lamotte (mjklaim_at_[hidden])
Date: 2012-05-29 11:55:43
On Tue, May 29, 2012 at 11:46 PM, Artyom Beilis <artyomtnk_at_[hidden]> wrote:
> int main(int argc,char **argv[,char **env])
> {
boost::nowide::args a(argc,argv[,env])
>
> ...
>
> }
>
>
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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk