folly::dptr_detail::ConstVisitorResult

Determine the result type of applying a visitor of type V on const pointers of all types in Types..., asserting that the type is the same for all types in Types...

Synopsis

Declared in <folly/detail/DiscriminatedPtrDetail.h>

template<
    typename V,
    typename... Types>
struct ConstVisitorResult;

Type Aliases

NameDescription
res The result of applying the visitor to a const pointer of type T.
type The common result type across all visited types.