Re: [boost] [filesystem] new functions proposals

2003-04-17 Thread Jeff Garland
On Thu, 17 Apr 2003 17:41:24 +0400, Vladimir Prus wrote > I think that the filesystem library would very benefit from two functions: > > std::string extension(const boost::filesystem::path&); > boost::filesystem::path change_extension(const > boost::filesystem::path&, const std::str

[boost] [filesystem] new functions proposals

2003-04-17 Thread Vladimir Prus
I think that the filesystem library would very benefit from two functions: std::string extension(const boost::filesystem::path&); boost::filesystem::path change_extension(const boost::filesystem::path&, const std::string& new_suffix); and, probably, std::string basename(