www.digitalmars.com         C & C++   DMDScript  

c++.stlsoft - winstl::filesystem_traits

reply Adi Shavit <adishavit_thisdoesnotbelonghere_ gmail.com> writes:
Hi,

  I've recentely tried using winstl::filesystem_traits<char> to delete and
rename some files, and it's very cool.
However, I was surprised that it only accepts char_type const* argument, and
not e.g. std::string or even better winstl::path.
STLSoft's conversion abilities (shims?) are well documented. Is there a reason
they are not applied here?

Thanks,
Adi
Nov 12 2009
parent "Matthew Wilson" <matthew hat.stlsoft.dot.org> writes:
"Adi Shavit" <adishavit_thisdoesnotbelonghere_ gmail.com> wrote in message
news:hdh29g$1bmc$1 digitalmars.com...
 Hi,

   I've recentely tried using winstl::filesystem_traits<char> to delete and
rename some files, and it's very cool.
 However, I was surprised that it only accepts char_type const* argument, and
not e.g. std::string or even better winstl::path.
 STLSoft's conversion abilities (shims?) are well documented. Is there a reason
they are not applied here?
As always, a high priority is given to (avoiding) coupling. But let me consider whether we can make the improvements you suggest without damaging modularity overly. (Remind me about this if you hear nothing before the new year.) Matt
Nov 26 2009