Sam Morris writes:
>
> On Sun, 26 Jun 2011 17:06:47 +0200, Ruben Van Boxem wrote:
> > I have implemented a small patch that mirrors Microsoft's STL extension,
> > where one can use wide strings as an argument to std::(w)fstream. This...
>
> FYI, I think you can do this without modifying the fst
On 27 June 2011 20:50, Ruben Van Boxem wrote:
> (If it is liked here, I see no reason not to also propose it to LLVM's
> libc++).
Why? libc++ only supports Mac OS X, so adding Windows-only extensions
seems pointless.
How does the Rogue Wave / Apache stdcxx support whar_t filenames on Windows?
N.
> 2011/6/26 Sam Morris :
> > FYI, I think you can do this without modifying the fstream like this:
> >
> > __gnu_cxx::stdio_filebuf b (_wopen (L"filename", _O_RDONLY));
> > std::istream i (&b);
> >
> > The stdio_filebuf will close the file when it's done.
> >
> > stdio_filebuf can also be construct
2011/6/26 Jonathan Wakely :
> On 26 June 2011 16:26, Jonathan Wakely wrote:
>> On 26 June 2011 16:06, Ruben Van Boxem wrote:
>>>
>>> No extra #includes are necessary, and for now I #ifdef'ed the extra
>>> code with #if _WIN32. Perhaps cleaner would be a configure check for
>>> OS or CRT used and a
On 26 June 2011 16:26, Jonathan Wakely wrote:
> On 26 June 2011 16:06, Ruben Van Boxem wrote:
>>
>> No extra #includes are necessary, and for now I #ifdef'ed the extra
>> code with #if _WIN32. Perhaps cleaner would be a configure check for
>> OS or CRT used and a __GLIBCXX* macro to enable this fun
On 26 June 2011 16:06, Ruben Van Boxem wrote:
> Hi,
>
> I have implemented a small patch that mirrors Microsoft's STL
> extension, where one can use wide strings as an argument to
> std::(w)fstream. This is very useful on Windows, where, without this
> extension, there is no way to open an fstream
On Sun, 26 Jun 2011 17:06:47 +0200, Ruben Van Boxem wrote:
> I have implemented a small patch that mirrors Microsoft's STL extension,
> where one can use wide strings as an argument to std::(w)fstream. This
> is very useful on Windows, where, without this extension, there is no
> way to open an fst
Hi,
I have implemented a small patch that mirrors Microsoft's STL
extension, where one can use wide strings as an argument to
std::(w)fstream. This is very useful on Windows, where, without this
extension, there is no way to open an fstream for a filename
containing non-ASCII characters not in the