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: eldiener@… 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:2 by Beman Dawes, 12 years ago

Resolution: fixed
Status: newclosed

This need will be addressed by Filesystem Version 3, which will ship with Boost 1.44.

Thanks,

--Beman

Note: See TracTickets for help on using tickets.