Holoscan SDK v4.2.0

Template Class Nullable

template<typename T>
class Nullable

Public Functions

inline explicit Nullable(T value = 0)
inline explicit Nullable(std::nullptr_t)
inline operator T() const
inline explicit operator bool()

Friends

inline friend bool operator==(Nullable l, Nullable r)
inline friend bool operator!=(Nullable l, Nullable r)
inline friend bool operator==(Nullable l, std::nullptr_t)
inline friend bool operator==(std::nullptr_t, Nullable r)
inline friend bool operator!=(Nullable l, std::nullptr_t)
inline friend bool operator!=(std::nullptr_t, Nullable r)

template<typename RESULT, RESULT func>
struct Deleter

Deleter, call the function when the object is deleted.

Template Parameters

F – function to call

Public Types

typedef Nullable<T> pointer

Public Functions

inline void operator()(T value) const

Previous Class NetworkContext
Next Class Operator
© Copyright 2022-2026, NVIDIA. Last updated on May 11, 2026