proxygen
folly::compression::detail::ForwardPointers< size_t > Class Template Reference

#include <CodingDetail.h>

Protected Member Functions

 ForwardPointers (const unsigned char *ptr)
 

Protected Attributes

const unsigned char *const forwardPointers_
 

Detailed Description

template<size_t>
class folly::compression::detail::ForwardPointers< size_t >

Helpers to store pointers to forward and skip pointer arrays only if they are used, that is, the quantum is nonzero. If it is 0, the class is empty, and the member is static to keep the syntax valid, thus it will take no space in a derived class thanks to empty base class optimization.

Definition at line 39 of file CodingDetail.h.

Constructor & Destructor Documentation

template<size_t >
folly::compression::detail::ForwardPointers< size_t >::ForwardPointers ( const unsigned char *  ptr)
inlineexplicitprotected

Definition at line 41 of file CodingDetail.h.

void * ptr
const unsigned char *const forwardPointers_
Definition: CodingDetail.h:42

Member Data Documentation

template<size_t >
const unsigned char* const folly::compression::detail::ForwardPointers< size_t >::forwardPointers_
protected

Definition at line 42 of file CodingDetail.h.


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