Thorin 1.9.0
The Higher ORder INtermediate representation
Loading...
Searching...
No Matches
vector.h File Reference
#include <absl/container/inlined_vector.h>
#include "thorin/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  thorin::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  thorin
 

Functions

Deduction Guides

{@

template<class I , class A = std::allocator<typename std::iterator_traits<I>::value_type>>
 thorin::Vector (I, I, A=A()) -> Vector< typename std::iterator_traits< I >::value_type, Default_Inlined_Size< typename std::iterator_traits< I >::value_type >, A >
 
template<class R , class S >
bool thorin::equal (R range1, S range2)
 }@
 
template<class T , size_t N, class A , class U >
constexpr Vector< T, N, A >::size_type thorin::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 thorin::erase_if (Vector< T, N, A > &c, Pred pred)
 

Variables

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