Searched refs:StorageImpl (Results 1 – 3 of 3) sorted by relevance
42 template <typename T> struct StorageImpl : public StorageBase { struct43 explicit StorageImpl(const T &Value) : Value(Value) {} in StorageImpl() function45 explicit StorageImpl(T &&Value) : Value(std::move(Value)) {} in StorageImpl() argument48 return std::make_unique<StorageImpl<T>>(Value); in clone() argument56 StorageImpl &operator=(const StorageImpl &Other) = delete; argument57 StorageImpl(const StorageImpl &Other) = delete;88 std::make_unique<StorageImpl<std::decay_t<T>>>(std::forward<T>(Value)); in Any()144 return &static_cast<Any::StorageImpl<U> &>(*Value->Storage).Value; in any_cast()152 return &static_cast<Any::StorageImpl<U> &>(*Value->Storage).Value; in any_cast()
182 using StorageImpl =190 : StorageImpl(in_place_t{}, std::forward<ArgTypes>(Args)...) {}193 StorageImpl::operator=(Ref);
201 using StorageImpl =209 : StorageImpl(in_place_t{}, std::forward<ArgTypes>(Args)...) {}212 StorageImpl::operator=(Ref);