enable_shared_from_this with Boost 1.33.1

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

enable_shared_from_this with Boost 1.33.1

Benn Bollay
Hi all -

To get luabind (fresh from cvs) to compile against boost1.33.1 for a class
deriving from boost::enable_shared_from_this I needed to add the following
code:

Index: detail/has_get_pointer.hpp
===================================================================
RCS file: /cvsroot/luabind/luabind/luabind/luabind/detail/has_get_pointer.hpp,v
retrieving revision 1.2
diff -r1.2 has_get_pointer.hpp
91c91
<           value = sizeof(has_get_pointer_::check( (get_pointer(x),0) )) == 1
---
>           value = sizeof(luabind::detail::has_get_pointer_::check( (luabind::detail::has_get_pointer_::get_pointer(x),0) )) == 1

All the test cases that ran before (everything except for free_functions) runs
now.

Cheers!
--B



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
luabind-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/luabind-user
Reply | Threaded
Open this post in threaded view
|

Re: enable_shared_from_this with Boost 1.33.1

Arvid Norberg-2
On Jul 9, 2006, at 13:58, Benn Bollay wrote:

> Hi all -
>
> To get luabind (fresh from cvs) to compile against boost1.33.1 for  
> a class
> deriving from boost::enable_shared_from_this I needed to add the  
> following
> code:

Thanks for the report, this problem is fixed now.


--
Arvid Norberg




-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
luabind-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/luabind-user