proxygen
folly::small_vector< Value, RequestedMaxInline, PolicyA, PolicyB, PolicyC >::HeapPtrWithCapacity Struct Reference

Public Member Functions

InternalSizeType getCapacity () const
 
void setCapacity (InternalSizeType c)
 

Public Attributes

void * heap_
 
InternalSizeType capacity_
 

Detailed Description

template<class Value, std::size_t RequestedMaxInline = 1, class PolicyA = void, class PolicyB = void, class PolicyC = void>
struct folly::small_vector< Value, RequestedMaxInline, PolicyA, PolicyB, PolicyC >::HeapPtrWithCapacity

Definition at line 1101 of file small_vector.h.

Member Function Documentation

template<class Value, std::size_t RequestedMaxInline = 1, class PolicyA = void, class PolicyB = void, class PolicyC = void>
InternalSizeType folly::small_vector< Value, RequestedMaxInline, PolicyA, PolicyB, PolicyC >::HeapPtrWithCapacity::getCapacity ( ) const
inline

Definition at line 1105 of file small_vector.h.

1105  {
1106  return capacity_;
1107  }
template<class Value, std::size_t RequestedMaxInline = 1, class PolicyA = void, class PolicyB = void, class PolicyC = void>
void folly::small_vector< Value, RequestedMaxInline, PolicyA, PolicyB, PolicyC >::HeapPtrWithCapacity::setCapacity ( InternalSizeType  c)
inline

Definition at line 1108 of file small_vector.h.

References c, and FOLLY_SV_PACK_ATTR.

1108  {
1109  capacity_ = c;
1110  }
char c

Member Data Documentation

template<class Value, std::size_t RequestedMaxInline = 1, class PolicyA = void, class PolicyB = void, class PolicyC = void>
InternalSizeType folly::small_vector< Value, RequestedMaxInline, PolicyA, PolicyB, PolicyC >::HeapPtrWithCapacity::capacity_

Definition at line 1103 of file small_vector.h.

template<class Value, std::size_t RequestedMaxInline = 1, class PolicyA = void, class PolicyB = void, class PolicyC = void>
void* folly::small_vector< Value, RequestedMaxInline, PolicyA, PolicyB, PolicyC >::HeapPtrWithCapacity::heap_

Definition at line 1102 of file small_vector.h.


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