Searched defs:StorageImpl (Results 1 – 7 of 7) sorted by relevance
45 struct C10_API StorageImpl : public c10::intrusive_ptr_target { struct49 StorageImpl( in StorageImpl() argument68 StorageImpl( in StorageImpl() argument82 StorageImpl& operator=(StorageImpl&& other) = delete; argument83 StorageImpl& operator=(const StorageImpl&) = delete; argument89 void reset() { in reset()97 void release_resources() override { in release_resources()101 size_t nbytes() const { in nbytes()107 SymInt sym_nbytes() const { in sym_nbytes()112 void set_nbytes(size_t size_bytes) { in set_nbytes()[all …]
44 template <typename T> struct StorageImpl : public StorageBase { struct45 explicit StorageImpl(const T &Value) : Value(Value) {} in StorageImpl() argument47 explicit StorageImpl(T &&Value) : Value(std::move(Value)) {} in StorageImpl() argument50 return std::make_unique<StorageImpl<T>>(Value); in clone() argument58 StorageImpl &operator=(const StorageImpl &Other) = delete; argument
44 template <typename T> struct StorageImpl : public StorageBase { struct45 explicit StorageImpl(const T &Value) : Value(Value) {} in StorageImpl() argument47 explicit StorageImpl(T &&Value) : Value(std::move(Value)) {} in StorageImpl() function50 return std::make_unique<StorageImpl<T>>(Value); in clone() argument58 StorageImpl &operator=(const StorageImpl &Other) = delete; argument
44 template <typename T> struct StorageImpl : public StorageBase { struct45 explicit StorageImpl(const T &Value) : Value(Value) {} in StorageImpl() function47 explicit StorageImpl(T &&Value) : Value(std::move(Value)) {} in StorageImpl() argument50 return std::make_unique<StorageImpl<T>>(Value); in clone() argument58 StorageImpl &operator=(const StorageImpl &Other) = delete; argument
35 template <typename T> struct StorageImpl : public StorageBase { struct36 explicit StorageImpl(const T &Value) : Value(Value) {} in StorageImpl() argument38 explicit StorageImpl(T &&Value) : Value(std::move(Value)) {} in StorageImpl() function41 return std::make_unique<StorageImpl<T>>(Value); in clone() argument49 StorageImpl &operator=(const StorageImpl &Other) = delete; argument