MCPcopy Create free account
hub / github.com/cztomczak/cefpython / TakeState

Method TakeState

src/include/base/cef_scoped_ptr.h:251–256  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

249
250 template <typename U, typename V>
251 void TakeState(scoped_ptr_impl<U, V>* other) {
252 // See comment in templated constructor above regarding lack of support
253 // for move-only deleters.
254 reset(other->release());
255 get_deleter() = other->get_deleter();
256 }
257
258 ~scoped_ptr_impl() {
259 if (data_.ptr != NULL) {

Callers 2

scoped_ptrClass · 0.80
scoped_ptr<T[], D>Class · 0.80

Calls 1

releaseMethod · 0.80

Tested by

no test coverage detected