Merge filesystem, range, doc from trunk.

* Inline deprecated methods in filesystem.
* Fix some links in range.
* Clean up test document a bit.


[SVN r64315]
This commit is contained in:
Daniel James
2010-07-24 14:26:01 +00:00
parent 9b2e0bbfbf
commit 87bfb82d2e

View File

@@ -25,17 +25,17 @@ namespace boost
# ifndef BOOST_FILESYSTEM_NO_DEPRECATED
std::string extension(const path & p)
inline std::string extension(const path & p)
{
return p.extension().string();
}
std::string basename(const path & p)
inline std::string basename(const path & p)
{
return p.stem().string();
}
path change_extension( const path & p, const path & new_extension )
inline path change_extension( const path & p, const path & new_extension )
{
path new_p( p );
new_p.replace_extension( new_extension );