$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Ulrich Eckhardt (doomster_at_[hidden])
Date: 2008-05-16 08:15:18
On Friday 16 May 2008 10:37:42 Enda Mannion wrote:
> I am trying to use boost filesystem.
>
>
> wchar_t* file = L"myfile";
*meeep* Wrong! Use 'wchar_t const*' instead. [Yes, that's not the issue here,
but I just wanted to point it out. ]
> boost::filesystem::path path(file);
Take a look at the 'wpath' class:
typedef basic_path<std::string, path_traits> path;
typedef basic_path<std::wstring, wpath_traits> wpath;
'wpath' use a wchar_t representation for a path.
Uli