proxygen
folly::dptr_detail::ApplyConstVisitor1< 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::ApplyConstVisitor1< 1, V, R, T, Types... >

Definition at line 142 of file DiscriminatedPtrDetail.h.

Member Function Documentation

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

Definition at line 143 of file DiscriminatedPtrDetail.h.

References folly::T.

143  {
144  return visitor(static_cast<const T*>(ptr));
145  }
void * ptr

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