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 >> c++-sig
c++-sig
[C++-sig] Re: The "return always existing pointer throws dangling error" problem
by David Abrahams other posts by this author
Oct 22 2003 7:12PM messages near this date
Re: [C++-sig] Re: The "return always existing pointer throws dangling error" problem | Re: [C++-sig] Re: The "return always existing pointer throws dangling error" problem
"Niall Douglas" <s_sourceforge@[...].com>  writes:

>  The:
>         object self(handle<>(borrowed(m_self)));
>         return extract<Foo*>(self.attr("f")());
> 
>  ... solution I previously mentioned is of course unsuitable because 
>  attr() cannot take parameters.

???

Of course it takes 1 parameter, as shown in your snippet above.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com


_______________________________________________
C++-sig mailing list
C++-sig@[...].org
http://mail.python.org/mailman/listinfo/c++-sig
Thread:
Niall Douglas
David Abrahams
Niall Douglas
David Abrahams
Niall Douglas
David Abrahams
David Abrahams
Niall Douglas
Niall Douglas
David Abrahams
Niall Douglas
Nicolas LELONG
Nicolas LELONG
David Abrahams

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