
----- Original Message -----
From: Jookia <166291@gmail.com> To: boost@lists.boost.org Cc: Sent: Saturday, September 15, 2012 12:06 PM Subject: Re: [boost] [nowide] Library looks for a review manager
On 15/09/12 18:54, Yakov Galka wrote:
On Sat, Sep 15, 2012 at 9:47 AM, Artyom Beilis <artyomtnk@yahoo.com> wrote: I agree with Jookia here. Although the std::remove/std::iofstream etc. are not a big deal, it will be great if there is a simple way to set the std::cout/cin/cerr to use the same stream buffers as the nowide::* counterparts. It can be something as simple as changing boost::nowide::args a(argc,argv); to boost::nowide::args_and_ios a(argc,argv);
I'd find that a little redundant as we'd still have to change everything to nw::getenv and whatnot.
I'm fine with using a nw namespace, but it just seems like it'd make a great drop-in replacement when it comes to porting code.
The only way to fully replace these is to provide an alternative standard C++ library like STLPort or libc++, but actually C library replacement may be required as std::fopen is just an alias to libc fopen. Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/