template<typename IndexT>
vt::vrt::collection::ElementHolder struct

The holder for the actual collection object that saves a unique_ptr to the element.

Public types

using VirtualPtrType = std::unique_ptr<Indexable<IndexT>>

Constructors, destructors, conversion operators

ElementHolder(VirtualPtrType in_vc_ptr_) explicit
ElementHolder(ElementHolder&&) defaulted
~ElementHolder() defaulted virtual

Public functions

auto getRawPtr() const -> VirtualPtrType::pointer

Public variables

bool erased_
VirtualPtrType vc_ptr_