Opened 14 years ago
Closed 12 years ago
#2439 closed Feature Requests (fixed)
A basic_path can not be instantiated easily based solely on a string type
Reported by: | Owned by: | Beman Dawes | |
---|---|---|---|
Milestone: | Boost 1.37.0 | Component: | filesystem |
Version: | Boost 1.36.0 | Severity: | Cosmetic |
Keywords: | basic_path basic_path_traits | Cc: |
Description
Although the filesystem basic_path<> template can take a string type as the first template parameter, the second template parameter, which is the basic_path_traits, needs a specific hardcoded supplied trait. This means that the basic_path can not be directly instantiated by choosing just a string type. This suggestion is that the filesystem basic_path_traits be a template itself which takes a string type. This would allow the basic_path to be instantiated based solely on a string type.
Change History (2)
comment:1 by , 14 years ago
comment:2 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
This need will be addressed by Filesystem Version 3, which will ship with Boost 1.44.
Thanks,
--Beman
see https://svn.boost.org/trac/boost/ticket/1936