|
Boost Users : |
Subject: Re: [Boost-users] Open a filename with a wstring or wchar_t *
From: Bo Jensen (jensen.bo_at_[hidden])
Date: 2010-08-02 10:13:23
On Mon, Aug 2, 2010 at 2:03 PM, Timothy Madden <terminatorul_at_[hidden]> wrote:
> Bo Jensen wrote:
>>
>> I use :
>>
>> typedef boost::filesystem::wpath SlmWPath;
>> typedef boost::filesystem::wfstream SlmWfstream;
>> typedef boost::filesystem::wofstream SlmWOfstream;
>> typedef boost::filesystem::wifstream SlmWIfstream;
>
> Yes, I can create wide streams, what I want is to pass a wide string as the
> file name to be opned.
This should work :
boost::filesystem::wfstream test;
test.open(L"somepath");
The above typedefs was just to show the tools you need from booost filesystem.
>
> Thank you,
> Timothy Madden
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net