ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> boost
boost
[boost] filesystem errors
by Walter Landry other posts by this author
Sep 18 2003 10:16AM messages near this date
AW: [mailinglist] [boost] Re: python 2.3 + mingw + boost.python | [boost] python 2.3 + mingw + boost.python
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@[...].edu


** context diff

   --- /home/boo/{revisions}//wlandry@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 excepti
on
   +      const path &    path1() const { return m_path1; } // argument 1 to who; may be emp
ty()
   +      const path &    path2() const { return m_path2; } // argument 2 to who; may be emp
ty()
    
        private:
          int             m_sys_err;

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved