Hello,
when I try in this simple example Refactor->Extract Method (for lines between --> and <--), then
I get wrong signature of extracted function, instead of fs::path I get wrong function signature like fs.path.
VAX proposes function signature
fs.path MyMethod(fs.path root_dir)
when it should be
fs::path MyMethod(fs::path root_dir)
the environment:
VS.Net 2005
VAX.dll: 10.3.1531.0  built 2006.08.04
#ifndef __EXTRACT_METHOD_BUG
#define __EXTRACT_METHOD_BUG
//#include <boost/filesystem/path.hpp>
//namespace fs = boost::filesystem;
namespace fs
{
    class path
    {
    };
}
class extract_method_t
{
public:
    extract_method_t ()
    {
        fs::path root_dir ("c:/");
        //! --> extract method
        root_dir = root_dir / "ddd";
        //! <-- extract method
    }
};
#endif __EXTRACT_METHOD_BUG