c++.stlsoft - winstl::filesystem_traits
- Adi Shavit (6/6) Nov 12 2009 Hi,
- Matthew Wilson (5/9) Nov 26 2009 As always, a high priority is given to (avoiding) coupling. But let me c...
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
"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