![]() |
ONNX Runtime
|
Covers unowned pointers owned by either the ORT or some other instance of CPP wrappers. Used for ConstXXX and UnownedXXXX types that are copyable. Also convenient to wrap raw OrtXX pointers . More...
#include <onnxruntime_cxx_api.h>
Public Types | |
using | contained_type = typename Unowned< T >::Type |
Public Member Functions | |
constexpr | Base ()=default |
constexpr | Base (contained_type *p) noexcept |
~Base ()=default | |
Base (const Base &)=default | |
Base & | operator= (const Base &)=default |
Base (Base &&v) noexcept | |
Base & | operator= (Base &&v) noexcept |
constexpr | operator contained_type * () const noexcept |
Protected Attributes | |
contained_type * | p_ {} |
Covers unowned pointers owned by either the ORT or some other instance of CPP wrappers. Used for ConstXXX and UnownedXXXX types that are copyable. Also convenient to wrap raw OrtXX pointers .
T |
using Ort::detail::Base< Unowned< T > >::contained_type = typename Unowned<T>::Type |
|
constexprdefault |
|
inlineexplicitconstexprnoexcept |
|
default |
|
default |
|
inlinenoexcept |
|
inlineconstexprnoexcept |
|
inlinenoexcept |
|
default |
|
protected |