Re: non const reference

Muller Remy <[email protected]> Wed, 29 Feb 2012 17:23:14 +0100
Newsgroups gmane.comp.lang.lua.bind.user
Message-ID <[email protected]>
thanks, using

call<void>("foo", boost::ref(a));

instead of

call<void>("foo", a);

makes it compile, however my virtual function are not called. I'll try 
to see if it's on my end first.

Le 24/02/2012 12:44, Willi Schinmeyer a écrit :
>    I've been playing around a bit and using boost::reference_wrapper<A>
> instead of A&  makes it compile, though I did not verify it actually
> works as expected.
>
> ------------------------------------------------------------------------------
> Virtualization&  Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _______________________________________________
> luabind-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/luabind-user


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/