Corrade/Containers/Pointer.h file

Class Corrade::Containers::Pointer, function Corrade::Containers::pointer(), Corrade::Containers::pointerCast()

Namespaces

namespace Corrade
Root namespace.
namespace Corrade::Containers
Container implementations.

Classes

template<class T>
class Corrade::Containers::Pointer
Lightweight unique pointer.

Functions

template<class T>
auto pointer(T* pointer) -> Pointer<T>
Make a unique pointer.
template<class T>
auto pointer(T&& other) -> auto
Make a unique pointer from external representation.
template<class U, class T>
auto pointerCast(Pointer<T>&& pointer) -> Pointer<U>
Downcast a pointer.
template<class T, class ... Args>
auto pointer(Args && ... args) -> Pointer<T>
Make a unique pointer.