MimIR 0.1
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
vector.h File Reference
#include <absl/container/inlined_vector.h>
#include "mim/util/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  mim::Vector< T, N, A >
 This is a thin wrapper for absl::InlinedVector<T, N, / A> which in turn is a drop-in replacement for std::vector<T, A>. More...
 

Namespaces

namespace  mim
 

Functions

Deduction Guides
template<class I , class A = std::allocator<typename std::iterator_traits<I>::value_type>>
 mim::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 >
constexpr Vector< T, N, A >::size_type mim::erase (Vector< T, N, A > &c, const U &value)
 
template<class T , size_t N, class A , class Pred >
constexpr Vector< T, N, A >::size_type mim::erase_if (Vector< T, N, A > &c, Pred pred)
 

Variables

template<class T >
static constexpr size_t mim::Default_Inlined_Size = std::max((size_t)1, 4 * sizeof(size_t) / sizeof(T))