proxygen
folly::dptr_detail::ApplyVisitor1< 1, V, R, T, Types... > Struct Template Reference

#include <DiscriminatedPtrDetail.h>

Public Member Functions

operator() (size_t, V &&visitor, void *ptr) const
 

Detailed Description

template<typename V, typename R, typename T, typename... Types>
struct folly::dptr_detail::ApplyVisitor1< 1, V, R, T, Types... >

Definition at line 122 of file DiscriminatedPtrDetail.h.

Member Function Documentation

template<typename V , typename R , typename T , typename... Types>
R folly::dptr_detail::ApplyVisitor1< 1, V, R, T, Types... >::operator() ( size_t  ,
V &&  visitor,
void *  ptr 
) const
inline

Definition at line 123 of file DiscriminatedPtrDetail.h.

References folly::T.

123  {
124  return visitor(static_cast<T*>(ptr));
125  }
void * ptr

The documentation for this struct was generated from the following file: