folly::relinquish

relinquish overloads

Synopses

Declared in <folly/container/FBVector.h>

Release ownership of the vector's storage to the caller.

template<
    class T,
    class A>
T*
relinquish(fbvector<T, A>& v);
» more...

Grants the free relinquish function access to the vector internals.

template<
    class _T,
    class _A>
_T*
relinquish(fbvector<_T, _A>& v);
» more...

Return Value

A pointer to the released data.

Parameters

NameDescription
vThe vector to relinquish storage from.