GCC Middle and Back End API Reference
vec< T, A, L > Struct Template Reference

#include <vec.h>


Detailed Description

template<typename T, typename A = va_heap, typename L = typename A::default_layout>
struct vec< T, A, L >

Generic vector template. Default values for A and L indicate the most commonly used strategies.

FIXME - Ideally, they would all be vl_ptr to encourage using regular instances for vectors, but the existing GTY machinery is limited in that it can only deal with GC objects that are pointers themselves.

This means that vector operations that need to deal with potentially NULL pointers, must be provided as free functions (see the vec_safe_* functions above).


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