From 87bfb82d2e482131609f12554e56e2839d6582e2 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Sat, 24 Jul 2010 14:26:01 +0000 Subject: [PATCH] Merge filesystem, range, doc from trunk. * Inline deprecated methods in filesystem. * Fix some links in range. * Clean up test document a bit. [SVN r64315] --- include/boost/filesystem/v3/convenience.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/boost/filesystem/v3/convenience.hpp b/include/boost/filesystem/v3/convenience.hpp index 18ff2b0..be9934a 100644 --- a/include/boost/filesystem/v3/convenience.hpp +++ b/include/boost/filesystem/v3/convenience.hpp @@ -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 );