Template Function Microsoft::XboxStudios::Bifrost::ToGenericUniquePtr

Function Documentation

template<typename TObject>
UniqueGenericPtr Microsoft::XboxStudios::Bifrost::ToGenericUniquePtr(std::unique_ptr<TObject> ptr)

Converts a unique points of a specific type to an opaque unique pointer.

Template Parameters

TObject – The original type that is pointed to.

Returns

The opaque unique pointer.