[C++-sig] Beginning handle<> -> object conversion

David Abrahams dave at boost-consulting.com
Thu Jul 25 18:30:56 CEST 2002


I've now begun the transition away from using handle<T> in interfaces and
towards using object. That will likely cause some disruption in user code.
If you are getting errors in code which used to work, you can use the
following techniques during the transition:

to make a handle<> from an object:

    handle<>(borrowed(o.ptr()))

to make an object from a handle, simply:

    object(h)

Thanks for your understanding while we reconstruct things ;-)

-Dave

           ---------------------------------
           David Abrahams * Boost Consulting
dave at boost-consulting.com * http://www.boost-consulting.com






More information about the Cplusplus-sig mailing list