FE 0.13.1
Header-only C++ frontend library
Loading...
Searching...
No Matches
vector.h File Reference
#include <algorithm>
#include <functional>
#include <memory>
#include <ranges>
#include <type_traits>
#include <vector>
#include "fe/span.h"
Include dependency graph for vector.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  fe::Vector< T, N, A >
 This is a thin wrapper for absl::InlinedVector<T, N, A> which is a drop-in replacement for std::vector<T, A>. More...

Namespaces

namespace  fe

Functions

Deduction Guides
template<class I, class A = std::allocator<typename std::iterator_traits<I>::value_type>>
 fe::Vector (I, I, A=A()) -> Vector< typename std::iterator_traits< I >::value_type, Default_Inlined_Size< typename std::iterator_traits< I >::value_type >, A >
erase
template<class T, size_t N, class A, class U>
Vector< T, N, A >::size_type fe::erase (Vector< T, N, A > &c, const U &value)
template<class T, size_t N, class A, class Pred>
Vector< T, N, A >::size_type fe::erase_if (Vector< T, N, A > &c, Pred pred)

Variables

template<class T>
static constexpr size_t fe::Default_Inlined_Size = std::max((size_t)1, 4 * sizeof(size_t) / sizeof(T))
 Use up to 4 words (i.e., 4 * sizeof(size_t)) of inlined storage, rounded up.