folly::dptr_detail::ApplyVisitor

Dispatches a visitor to a pointer whose type is selected at runtime.

Synopsis

Declared in <folly/detail/DiscriminatedPtrDetail.h>

template<typename... Types>
struct ApplyVisitor;

Member Functions

NameDescription
operator() Applies the visitor to the pointer using the runtime type index.

Static Member Functions

NameDescription
one Applies the visitor to the pointer cast to T*.