Boost logo

Boost :

From: Walter Landry (wlandry_at_[hidden])
Date: 2003-09-18 05:16:32


Greetings,

I have been using the filesystem library, but I can't seem to find
where some member functions for filesystem_error are implemented
(who(), path1(), path2()). For various reasons, I'm not using bjam to
build it, so that could be my problem right there. In any case, I've
attached a simple patch to implement it.

Thanks,
Walter Landry
wlandry_at_[hidden]

** context diff

   --- /home/boo/{revisions}//wlandry_at_ucsd.edu--arx/boost/boost--arx/boost--arx--1.0/boost--arx--1.0--patch-14/./boost/filesystem/exception.hpp 2003-09-17 14:18:45.000000000 -0400
   +++ /home/boo/arx/arx/src/boost/./boost/filesystem/exception.hpp 2003-09-17 14:42:18.000000000 -0400
   @@ -87,9 +87,9 @@
          int native_error() const { return m_sys_err; }
          // Note: a value of 0 implies a library (rather than system) error
          error_code error() const { return m_err; }
   - const std::string & who() const; // name of who throwing exception
   - const path & path1() const; // argument 1 to who; may be empty()
   - const path & path2() const; // argument 2 to who; may be empty()
   + const std::string & who() const { return m_who; } // name of who throwing exception
   + const path & path1() const { return m_path1; } // argument 1 to who; may be empty()
   + const path & path2() const { return m_path2; } // argument 2 to who; may be empty()
    
        private:
          int m_sys_err;


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk