proxygen
FBVector.h File Reference
#include <algorithm>
#include <cassert>
#include <iterator>
#include <memory>
#include <stdexcept>
#include <type_traits>
#include <utility>
#include <folly/FormatTraits.h>
#include <folly/Likely.h>
#include <folly/Traits.h>
#include <folly/lang/Exception.h>
#include <folly/memory/Malloc.h>

Go to the source code of this file.

Classes

class  folly::fbvector< T, Allocator >
 
class  folly::fbvector< T, Allocator >
 
struct  folly::fbvector< T, Allocator >::Impl
 
struct  folly::detail::IndexableTraits< fbvector< T, A > >
 

Namespaces

 folly
 —— Concurrent Priority Queue Implementation ——
 
 folly::detail
 

Macros

#define FOLLY_FBV_UNROLL_PTR(first, last, OP)
 
#define FOLLY_FBV_OP(p)   (p)->~T()
 

Functions

template<class T , class A >
void folly::swap (fbvector< T, A > &lhs, fbvector< T, A > &rhs) noexcept
 
template<class T , class A >
void folly::compactResize (fbvector< T, A > *v, size_t sz)
 
template<class T , class A >
Tfolly::relinquish (fbvector< T, A > &v)
 
template<class T , class A >
void folly::attach (fbvector< T, A > &v, T *data, size_t sz, size_t cap)
 

Macro Definition Documentation

#define FOLLY_FBV_OP (   p)    (p)->~T()
#define FOLLY_FBV_UNROLL_PTR (   first,
  last,
  OP 
)
Value:
do { \
for (; (last) - (first) >= 4; (first) += 4) { \
OP(((first) + 0)); \
OP(((first) + 1)); \
OP(((first) + 2)); \
OP(((first) + 3)); \
} \
for (; (first) != (last); ++(first)) \
OP((first)); \
} while (0);
constexpr detail::First first
Definition: Base-inl.h:2553

Definition at line 55 of file FBVector.h.

Referenced by folly::fbvector< HTTPHeaderCode >::S_destroy_range().