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

Synopsis

Declared in <folly/detail/DiscriminatedPtrDetail.h>

template<typename... Types>
struct ApplyConstVisitor;

Member Functions

Name

Description

operator()

Applies the visitor to the pointer using the runtime type index.

Static Member Functions

Name

Description

one

Applies the visitor to the pointer cast to const T*.

Created with MrDocs