
Beman Dawes wrote:
The critical technical change required is internationalization. The plan is to provide a templated basic_path class, with typedefs for path and wpath. In other words, an approach very similar to the current std::basic_string, std::string, and std::wstring.
I don't this that's a good idea. Which type is supposed to be used in binary library interfaces? path or wpath? If 'path', then what happens if I pass a wpath to that library? If 'wpath' should always be used, then why would I ever want to use 'path'? I'd be much happier with design like this: class path { public: path(char*); path(wchar_t*); string file_string() const; wstring file_wstring() const; }; Could you comment on the discussion we had on this on the Boost-users list: http://thread.gmane.org/gmane.comp.lib.boost.user/6337 http://news.gmane.org/find-root.php?message_id=%3c200406221823.i5MINpjj02002... - Volodya