Template Class Wrapper

Class Documentation

template<typename T>
class Wrapper

Public Functions

inline operator T() const
inline operator T()
inline bool operator==(const Wrapper<T> &other)
inline bool operator!=(const Wrapper<T> &other)

Protected Functions

Wrapper() = default
inline Wrapper(const Wrapper<T> &other)
inline Wrapper(Wrapper<T> &&other)
inline explicit Wrapper(T &obj)
template<CUmemorytype... AllowedMemoryTypes>
inline void checkPointerAccess(const CUdeviceptr &pointer) const

Protected Attributes

T _obj = {}
std::shared_ptr<T> manager